Dev Setup for React Native
- Download and Install Node.js and npm
- Install Android Studio if you want to use react native on Android
- Install Xcode for iOS
- Set $JAVA_HOME environmental properly
- Install react-native-cli
$ sudo npm install -g react-native-cli- Install Expo (110MB) Expo and it doesn't require Android Studio/ Xcode
Creating react native project:
$ react-native init fbdevcirclecd to the project directory:
$ cd fbdevcircleInstall dependency:
$ npm installRunning the server:
$ react-native startIn another tab:
$ cd android/
$ sudo ./gradlew assembleDebugif you see build successfull in the terminal, your good to go. Ping me @ fahidroid@gmail.com if you are not able to setup
Refer this docs: https://facebook.github.io/react-native/docs/getting-started.html#installing-dependencies
For Account Kit:
- Active FB Account