Nimble Flutter internal certification
- Flutter 3.3
- [Recommended] Flutter Version Management (fvm)
To set up this project locally, follow the steps below:
- Create
.env
files inside the project's root directory and add the required environment variables into them. Take a look at the.env.sample
to see the list of all required environment variables- To set up the staging environment, create
.env.staging
- To set up the production environment, create
.env
- To set up the staging environment, create
- Generate Flutter files using the below command:
fvm flutter packages pub run build_runner build --delete-conflicting-outputs
To run the staging flavor app, use the below command:
fvm flutter run --flavor staging
To run the production flavor app, use the below command:
fvm flutter run --flavor production
To run all unit tests, use the below command:
fvm flutter test
To run integration tests with an emulator, use the below command:
fvm flutter drive --driver=integration_test_driver/integration_test_driver.dart --flavor staging --target=integration_test/{test_file}.dart
- Onboarding
- Home
- Taking survey