mapbox / mapbox/mapbox-navigation-ios-examples

Still simulating navigation even if simulating is set to .never

Open
#200 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
Dominant language
Swift
Stars
63
Forks
32
Avg merge
5m
Merged PRs (30d)
1

Description

I'm currently working on navigation app and having an issue. Even if i've set the simulating to .never in navigationservice, the navigation is still simulating the route. I've tried both on the simulator and on a device. I'm on version 2.8.1

let navigationService = MapboxNavigationService(routeResponse: response,
routeIndex: 0,
routeOptions: routeOptions,
customRoutingProvider: NavigationSettings.shared.directions,
credentials: NavigationSettings.shared.directions.credentials,
simulating:.never)
let navigationOptions = NavigationOptions(navigationService: navigationService)

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 by reproducing the issue from the MapboxNavigationService and NavigationOptions setup shown in the report, using simulating: .never on both a simulator and a device. Check whether navigation still follows a simulated route; done means navigation uses real location updates when simulation is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.