flutter run --flavor <your_app_name> -t lib/apps/main_<your_app_name>.dart
flutter run --flavor base_app -t lib/apps/main_base_app.dart
flutter build apk --flavor <your_app_name> -t lib/apps/main_<your_app_name>.dart --release
- Install Node.js on your pc
- Add new app config to file ./tools/config_apps.json Config example
- In directory ./tools run command
node build_tool.js generateApp <your_app_name>
node build_tool.js buildApp:dev <your_app_name>
node build_tool.js buildAllApp:dev
{
"<app_name>": {
"fullAppName": "My amazing app",
"desc": "My amazing description (no required)",
"image_path": "assets/icon/app_logo.jpg",
"applicationId": "com.appId.appId",
"firebase_app_android_id": "1:1111:android:11111111",
"tester_group": "qa-team",
"appSettings": {
"baseApiUrl": "https://baseApiUrl (no required)",
...
}
}
}
node generate_icon.js