Mobile App for Recipients of a Social Income.
For the basic setup, please refer to the main README
Open recipients_app
project folder in your development environment of
choice. Building flavor should work seamlessly for Android Studio and VS
Code with predefined build configs.
We have three build flavors:
dev
-> Connecting with Firebase Emulators (Firestore and Auth)stage
-> Connecting with staging online firebase projectprod
-> Connecting with production online firebase project and need real Firebase configuration json / plist file
For development use dev
flavor.
As Firebase emulators work on your local host machine the easiest way to run app is on the Android emulator. Real devices need some additional setup.
- Github for issue related discussion
- Everything else on Slack
dart run build_runner watch --delete-conflicting-outputs
or
dart run build_runner build --delete-conflicting-outputs
Translations are stored in lib/l10n/app_en.arb. To rebuild the translations after you changed something run:
flutter gen-l10n
To use a translated string in the code use:
AppLocalizations.of(context).helloWorld
and import:
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
See How to test
Run flutter test --update-golden
to update golden files.