-
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
In IOS navigation not starting but in android it is working fine.
when i set destination nothing happend because that method does not returning any status and stuck at that function
final Destinations msg = Destinations(
waypoints: <NavigationWaypoint>[
NavigationWaypoint.withLatLngTarget(
title: 'Grace Cathedral',
target: const LatLng(latitude: 20.825563, longitude: 71.042010),
),
],
displayOptions: NavigationDisplayOptions(),
);
final NavigationRouteStatus status =
await GoogleMapsNavigator.setDestinations(msg);
if (status == NavigationRouteStatus.statusOk) { }
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.1)
[✓] Connected device (5 available)
[✓] Network resources
! Doctor found issues in 1 category.
Steps to reproduce
just run app into IOS navigation not starting because status not come from GoogleMapsNavigator.setDestinations
function
Expected vs Actual Behavior
in IOS also should give status from final NavigationRouteStatus status = await GoogleMapsNavigator.setDestinations(msg);
this line
Code Sample
// Example code here
Additional Context
No response