-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
map is crashing while call cleanup method if app is in background and navigation is started with below error
e: file:///Users/rajeshdabhi/.pub-cache/git/flutter-navigation-sdk-5e773aadb4dde581ac5495697ca0e7ffdee99b5b/android/src/main/kotlin/com/google/maps/flutter/navigation/GoogleMapsNavigationSessionManager.kt:753:11 Unresolved reference 'Looper'. e: file:///Users/rajeshdabhi/.pub-cache/git/flutter-navigation-sdk-5e773aadb4dde581ac5495697ca0e7ffdee99b5b/android/src/main/kotlin/com/google/maps/flutter/navigation/GoogleMapsNavigationSessionManager.kt:753:32 Unresolved reference 'Looper'. e: file:///Users/rajeshdabhi/.pub-cache/git/flutter-navigation-sdk-5e773aadb4dde581ac5495697ca0e7ffdee99b5b/android/src/main/kotlin/com/google/maps/flutter/navigation/GoogleMapsNavigationSessionManager.kt:754:21 Unresolved reference 'CountDownLatch'. e: file:///Users/rajeshdabhi/.pub-cache/git/flutter-navigation-sdk-5e773aadb4dde581ac5495697ca0e7ffdee99b5b/android/src/main/kotlin/com/google/maps/flutter/navigation/GoogleMapsNavigationSessionManager.kt:757:9 Unresolved reference 'Handler'. e: file:///Users/rajeshdabhi/.pub-cache/git/flutter-navigation-sdk-5e773aadb4dde581ac5495697ca0e7ffdee99b5b/android/src/main/kotlin/com/google/maps/flutter/navigation/GoogleMapsNavigationSessionManager.kt:757:17 Unresolved reference 'Looper'.
Flutter version
3.29.2
Package version
0.6.2
Native SDK versions
- I haven't changed the version of the native SDKs
Flutter Doctor Output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[!] Xcode - develop for iOS and macOS (Xcode 16.4)
! CocoaPods 1.15.0 out of date (1.16.2 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] VS Code (version 1.101.2)
[✓] Connected device (5 available)
! Error: Browsing on the local area network for Rajesh’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
Steps to reproduce
call await GoogleMapsNavigator.cleanup();
method while app in background map getting crash
Expected vs Actual Behavior
map should not crash even call cleanup or other methods even app is in background or not.
Code Sample
// Example code here
Additional Context
No response