- Replace dotenv with compile-time dart-define-from-file config per flavor - Add Android product flavors with applicationIdSuffix and per-flavor AndroidManifest - Add iOS build configurations, schemes, per-flavor plists and entitlements - Configure ProGuard rules for R8 compatibility with Entrust/Antelop SDK - Restructure assets into shared/ and per-flavor directories - Generate per-flavor launcher icons for Android and iOS - Refactor app initialization into initApp() with per-flavor entry points - Update asset paths across auth, home, profile, splash modules and sf_shared
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "SF Development",
|
|
"cwd": "apps/mobile_app",
|
|
"request": "launch",
|
|
"type": "dart",
|
|
"args": [
|
|
"--flavor",
|
|
"development",
|
|
"--dart-define-from-file=config/development.json"
|
|
]
|
|
},
|
|
{
|
|
"name": "SF Staging",
|
|
"cwd": "apps/mobile_app",
|
|
"request": "launch",
|
|
"type": "dart",
|
|
"args": [
|
|
"--flavor",
|
|
"staging",
|
|
"--dart-define-from-file=config/staging.json"
|
|
]
|
|
},
|
|
{
|
|
"name": "SF Production",
|
|
"cwd": "apps/mobile_app",
|
|
"request": "launch",
|
|
"type": "dart",
|
|
"args": [
|
|
"--flavor",
|
|
"production",
|
|
"--dart-define-from-file=config/production.json"
|
|
]
|
|
}
|
|
]
|
|
}
|