On the command prompt run the following commands:
$ git clone https://github.com/Bikranshu/react-native-app.git
$ cd react-native-app/
$ npm install
Link native dependencies:
$ react-native link
- Go to https://firebase.google.com and click “Go to Console” in the top right.
- Configure the new project in the Firebase console.
- Find firebase.example.js file in app/constants directory, rename it to firebase.js and edit it with your firebase app configuration.
-
For Development
Start react native development server:
$ react-native start
Install android or ios app in emulator / device:
$ react-native run-android $ react-native run-ios
-
For Production
Follow these steps for generating signed apk for android app.