mapbox / mapbox/mapbox-navigation-android
Navigation along the route is being simulated regardless of the setting
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Android API: Android 13
Mapbox Navigation SDK version: 2.10.4
implementation "com.mapbox.navigation:android:2.10.4"
implementation "com.mapbox.navigation:ui-dropin:2.10.4"
Steps to trigger behavior
-
Activity path com.mapbox.navigation.examples.standalone.turnbyturn.TurnByTurnExperienceActivity
-
MapboxNavigationApp.setup( NavigationOptions.Builder(this) .accessToken(getString(R.string.mapbox_access_token)) // comment out the location engine setting block to disable simulation //.locationEngine(replayLocationEngine) .build() ) -
Install Mapbox Navigation example App
Expected behavior
disable simulation
Actual behavior
test machine huawei、meizu Navigation along the route is being simulated regardless of the setting , but is okay in test machine xiaomi
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with TurnByTurnExperienceActivity and the MapboxNavigationApp.setup call in the reproduction, comparing behavior with the locationEngine(replayLocationEngine) block commented out. Reproduce on Huawei, Meizu, and Xiaomi devices; done means route navigation is not simulated when that setting is disabled, consistently across the reported devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100