Skip to content

[Bug]: Route line is missing while in navigation #4801

@santoso8118

Description

@santoso8118

Mapbox Navigation SDK version

Mapbox navigation 2.18.4

Steps to reproduce

We are using .gpx file to simulate user location update from 22 Bellios Lane to 9 Boon Keng Rd

  1. We start trip first time and simulate user location to destination using .gpx file
  2. When user reach to the destination we stop navigation
  3. After that we reset user location using the same .gpx file
  4. When we start the second trip to the same destination again, using same .gpx file, at this time the route line is missing in navigation

I have a question:

  1. Is there any caching data from Mapbox sdk that recorded user already reached to destination . And after that if user start the same trip to the same destination Mapbox will immediately updated user is on arrive destination ?
  2. If we have caching data like that, how can we clean it up to start the second trip normally ?

Expected behavior

When we start the second trip at step 4 the route line should be shown normally while app is in navigation

Actual behavior

Route line is missing in second trip navigate to the same location

Is this a one-time issue or a repeatable issue?

repeatable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions