Figma File
flutterfire configure
dart run build_runner watch --delete-conflicting-outputs
flutter pub upgrade
Generate Flutter l10n
flutter gen-l10n
For local emulator cloud function, configure appcheck debug token in Firebase console.
For android local emulator, change computerIp in firebase.dart to your computer ip address.
Enable useEmulator in main.dart
Enable debugMode in main.dart for appcheck token
To disable cloud function region comment out ( region: 'asia-south1' ) in all cloud functions.
To disable appcheck enforcemnt comment out (enforceAppCheck: true) in all cloud functions.
Running Cloud function Emulator:
firebase emulators:start
Building Cloud Functions
cd functions
npm run build:watch
Generating Proto files
cd proto
npx buf generate lib
Tweet