Repository navigation
Conversation
The navigator first matched a new route against the previous trip session's last location, extrapolated by the time since. Simulated guidance could start at 100% progress and report an arrival, then arrive again. Reset the trip session before setting the routes and starting the replay.
Under the activity's lifecycle the Maps lifecycle plugin keeps every MapView and its renderer alive until the activity is destroyed, about 370 MB per NavigationView on an emulator. Give the map its own lifecycle, as @rnmapbox/maps does for its maps.
The WeakHashMap's value, the binding, references its key, so navigation maps were never collected.
The example counts arrival events.
The view controller's mute button only reflected its own taps. The SDK keeps the button internal; it's found as the floating button with a selected image.
The SDK's simulator only re-seeds when the route length changes, and the replacement simulator arrives after guidance has started, deriving its position from progress matched against the previous simulation's location. Restarting a route after arriving began at 0 m and reported an arrival. Seed the simulation with the route's origin, and start guidance once the SDK has swapped in the new location client.
Contributor
Author
|
CI ran green on #2's head (lint needed one rerun: a partial yarn cache hit skips env.json generation). Closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Temporary draft to run CI on #2's head against main. Not for review; it will be closed.