Andriod Env setup steps :-
1. https://facebook.github.io/react-native/docs/getting-started.html
instead of npm , you may use yarn (https://yarnpkg.com/en/docs/install#windows-stable)
Install JDK
Android Studio
update .bashrc :-
export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
Create AVD emulator ( you may also setup https://www.genymotion.com)
Expo Doc:
https://docs.expo.io/versions/latest/introduction/installation/
While Expo is great for fast prototyping and writing your app when only JavaScript code is involved, usually you will at some point add packages with native dependencies and as a result you will have to use React Native.create-react-native-app provides a mechanism of ejecting from Exponent by running npm run eject and continuing to run your application with react-native run-ios or react-native run-android.
Test your code online at
https://npm.runkit.com/react-native-sms-retriever
https://snack.expo.io/@bgvotes/andriod-app
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAc3nx1ncQpl_NmKnrVO7N2Ldjti-qDVB8",
authDomain: "venkateshproj-ec51c.firebaseapp.com",
databaseURL: "https://venkateshproj-ec51c.firebaseio.com",
projectId: "venkateshproj-ec51c",
storageBucket: "venkateshproj-ec51c.appspot.com",
messagingSenderId: "754346527862"
};
firebase.initializeApp(config);
</script>
http://invertase.io/react-native-firebase/
1. https://facebook.github.io/react-native/docs/getting-started.html
instead of npm , you may use yarn (https://yarnpkg.com/en/docs/install#windows-stable)
Install JDK
Android Studio
update .bashrc :-
export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
Create AVD emulator ( you may also setup https://www.genymotion.com)
Expo Doc:
https://docs.expo.io/versions/latest/introduction/installation/
While Expo is great for fast prototyping and writing your app when only JavaScript code is involved, usually you will at some point add packages with native dependencies and as a result you will have to use React Native.create-react-native-app provides a mechanism of ejecting from Exponent by running npm run eject and continuing to run your application with react-native run-ios or react-native run-android.
Test your code online at
https://npm.runkit.com/react-native-sms-retriever
https://snack.expo.io/@bgvotes/andriod-app
<script src="https://www.gstatic.com/firebasejs/5.9.0/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAc3nx1ncQpl_NmKnrVO7N2Ldjti-qDVB8",
authDomain: "venkateshproj-ec51c.firebaseapp.com",
databaseURL: "https://venkateshproj-ec51c.firebaseio.com",
projectId: "venkateshproj-ec51c",
storageBucket: "venkateshproj-ec51c.appspot.com",
messagingSenderId: "754346527862"
};
firebase.initializeApp(config);
</script>
http://invertase.io/react-native-firebase/