This repo is an example template for quickly setting up react-native-cli and react-native-firebase
- Firebase Setup
- Firestore Integration
- Maps
- Email/Password authentication
- Clone repo to local machine
- Setup firebase project on www.firebase.com
- Enable firestore database in 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
- Copy your connection settings to
.env.example
file - Rename
.env.example
to.env
- Install dependencies using
yarn
- Run locally using
yarn start
- Deploy to Android emulator using
yarn android
- Deploy to iOS emulator using
yarn ios
- When deploying to android or iOS, ensure that your development machine has been setup accordingly