Skip to content

[Bug]: deprecated continueToNextDestination #496

@Fares-fa

Description

@Fares-fa

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I was using setDestination with three waypoints, and then using continueToNextDestination to make the navigation proceed to the next point.

Now that continueToNextDestination is deprecated, I need to call setDestination each time I want to update the route, providing the updated waypoints.

My question is: will this trigger a new navigation request each time — meaning the three points will result in three separate navigation API calls?

Flutter version

3.35.1

Package version

0.6.5

Native SDK versions

  • I haven't changed the version of the native SDKs

Flutter Doctor Output

[√] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.19045.6332], locale en-US)
[√] Windows Version (10 Enterprise 64-bit, 22H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[√] Android Studio (version 2024.3)
[√] Connected device (3 available)
[√] Network resources

Steps to reproduce

I was using setDestination with three waypoints, and then using continueToNextDestination to make the navigation proceed to the next point.

Now that continueToNextDestination is deprecated, I need to call setDestination each time I want to update the route, providing the updated waypoints.

My question is: will this trigger a new navigation request each time — meaning the three points will result in three separate navigation API calls?

Expected vs Actual Behavior

.

Code Sample

// Example code here

Additional Context

No response

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions