mapbox / mapbox/mapbox-navigation-android

Navigation along the route is being simulated regardless of the setting

Open
#7,126 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Activity path com.mapbox.navigation.examples.standalone.turnbyturn.TurnByTurnExperienceActivity

  2.     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()
           )
    
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.