This repo is an example template for quickly setting up react-native-cli including react-navigation and react-native-firebase v6. Example code is already setup for running on Android and iOS
- reactnative.dev
- reactnavigation.org
- rnfirebase.io
- react-native-maps (https://www.npmjs.com/package/react-native-maps)
- Configure react-native initial project (react-native init [projectname])
- Setup react-navigation
- Integrate react-native-firebase
- Example CRUD App
- Integrate react-native-maps
- Clone repo to local machine
- Setup firebase project on [firebase] (www.firebase.com)
- Enable firestore database for your firebase project
- Add an "Android" app to your Firebase project, download the
googleservices.json
file and copy-paste it toandroid/app/google-services.json
- Add an "iOS" app to your Firebase project, download the
GoogleService-Info.plist
file and copy-paste it toios/GoogleService-Info.plist
- Install dependencies using
yarn
- Run locally using
yarn start
- Run app on Android emulator using
yarn android
- Run app on iOS emulator using
yarn ios
- Refer to official documentation
- When deploying to android or iOS devices/emaulators, ensure that your development machine has been setup accordingly