cd functions
yarn build:watch
Then eiter start Firebase Emulator fully local:
yarn start
...or against an existing remote Firebase project:
GOOGLE_APPLICATION_CREDENTIALS=path/to/credential yarn start:remote --project <firebase-project>
the credentials are available on bitwarden as Cupcake <env> - Firebase Service Account
cd client
yarn ios
cd client
yarn android
cd client
yarn start
...or if you need support for running on device:
cd client
yarn start:device
Content needs to be re-built when it's changed.
cd content
yarn build:watch
cd client
yarn test
cd functions
yarn test
- Make your client setup has
google-services.json
andGoogleService-Info.plist
config files pointing to a real Firebase project. - Make sure
DEEP_LINK_
variables are properly setup for bothfunctions/.env
andclient/.env
- Start functions with a real firebase project:
yarn start:remote --project <firebase-project>
- Open links in iOS and Android simulators from the terminal:
npx uri-scheme open "https://dev.app.cupcake.29k.org/jksd23kjh2kjhk" --ios --android