Add Android OAuth support and fix map camera crash

- Add appAuthRedirectScheme manifest placeholder for flutter_appauth on Android
- Fix Google Maps camera animation crash on Android ("No valid view found")
- Add safety checks and retry mechanism for camera initialization
- Make action buttons always visible regardless of delivery selection

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jean-Philippe Brule
2025-11-23 12:39:23 -05:00
parent b2be3ec4ae
commit 44500835d7
2 changed files with 43 additions and 15 deletions
+4 -1
View File
@@ -24,10 +24,13 @@ android {
applicationId = "com.goutezplanb.planb_logistic"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 23 // Required for Google Navigation Flutter
minSdk = flutter.minSdkVersion // Required for Google Navigation Flutter
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
// OAuth redirect scheme for flutter_appauth
manifestPlaceholders["appAuthRedirectScheme"] = "com.goutezplanb.delivery"
}
packagingOptions {