feat: add multi-environment support (development, staging, production)
- 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
This commit is contained in:
23
apps/mobile_app/android/app/proguard-rules.pro
vendored
Normal file
23
apps/mobile_app/android/app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Flutter wrapper
|
||||
-keep class io.flutter.app.** { *; }
|
||||
-keep class io.flutter.plugin.** { *; }
|
||||
-keep class io.flutter.util.** { *; }
|
||||
-keep class io.flutter.view.** { *; }
|
||||
-keep class io.flutter.** { *; }
|
||||
-keep class io.flutter.plugins.** { *; }
|
||||
-dontwarn io.flutter.embedding.**
|
||||
|
||||
## Antelop/Entrust SDK - suppress warnings for optional dependencies
|
||||
-dontwarn com.google.android.gms.location.FusedLocationProviderClient
|
||||
-dontwarn com.google.android.gms.location.LocationServices
|
||||
-dontwarn com.huawei.hmf.tasks.Task
|
||||
-dontwarn com.huawei.hmf.tasks.Tasks
|
||||
-dontwarn com.huawei.hms.aaid.HmsInstanceId
|
||||
-dontwarn com.huawei.hms.api.HuaweiApiAvailability
|
||||
-dontwarn com.huawei.hms.api.HuaweiServicesNotAvailableException
|
||||
-dontwarn com.huawei.hms.api.HuaweiServicesRepairableException
|
||||
-dontwarn com.huawei.hms.common.ApiException
|
||||
-dontwarn com.huawei.hms.location.FusedLocationProviderClient
|
||||
-dontwarn com.huawei.hms.location.LocationServices
|
||||
-dontwarn com.huawei.hms.push.RemoteMessage
|
||||
-dontwarn com.huawei.hms.security.SecComponentInstallWizard
|
||||
Reference in New Issue
Block a user