Skip to content

CI check for #2 (throwaway, will be closed) - #8

Closed
mfazekas wants to merge 13 commits into
mainfrom
feat/rn-navigation-view
Closed

mfazekas wants to merge 13 commits into
mainfrom
feat/rn-navigation-view

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Temporary draft to run CI on #2's head against main. Not for review; it will be closed.

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 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.
@mfazekas

Copy link
Copy Markdown
Contributor Author

CI ran green on #2's head (lint needed one rerun: a partial yarn cache hit skips env.json generation). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant