- Download the
google-services.json
file from the Firebase console and place it under in theapp/
folder - Install Firebase CLI
- Copy the
.runtimeconfig.json
andserviceAccountKey.json
files into thefunctions
directory - Run
npm install
in thefunctions
directory - Launch the Firebase emulator
firebase emulators:start --import=./sample-data
When building the app in release mode, it will automatically use the real Firebase servers instead of the emulator. Your signing key needs to be added on the Firebase console.
If you want to run the app on a physical phone instead of the Android emulator, you will have to replace the IP address in RepositoryModule
by the IP address of your computer.