Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate examples from MapboxNavigationProvider to MapboxNavigationApp #128

Open
16 tasks
kmadsen opened this issue Aug 12, 2022 · 0 comments · May be fixed by #129
Open
16 tasks

Migrate examples from MapboxNavigationProvider to MapboxNavigationApp #128

kmadsen opened this issue Aug 12, 2022 · 0 comments · May be fixed by #129

Comments

@kmadsen
Copy link
Contributor

kmadsen commented Aug 12, 2022

It will be some time before we upgrade the examples repository to com.mapbox.navigation:android:2.8.0-alpha.2.

Opening so we can start considering the migration, but we're still building tools that make migration easier
For example the extensions are still experimental.

  • ShowAlternativeRoutesActivity
  • ShowManeuversActivity
  • MultipleWayPointsActivity
  • ShowTripProgressActivity
  • ShowCameraTransitionsActivity
  • ShowCurrentLocationActivity
  • ShowJunctionsActivity
  • FetchARouteActivity
  • RenderRouteLineActivity
  • TurnByTurnExperienceActivity
  • MapboxSignboardActivity
  • PlayVoiceInstructionsActivity
  • ShowSpeedLimitActivity
  • ReplayHistoryActivity
  • CustomArrivalActivity
  • ShowBuildingExtrusionsActivity

Migration plan

We want to commit to a migration plan for the examples repository by September 5th because that is the week the 2.8.0 release becomes a release candidate and we will be committed to apis for a stable release.

Note that, not-migrating and using MapboxNavigation directly is also an option. MapboxNavigationApp is built for large apps.

Resources

The architecture is designed for you to build de-coupled classes like the LocationComponent, or a more complicated example is the CameraComponent. There are other approaches that are worth considering.

Some public documentation on the MapboxNavigationApp can be found here https://docs.mapbox.com/android/navigation/guides/androidauto/car-app-lifecycle/

We will also explore migration ideas in the qa-test-app

Ideas are welcome

I'm obviously not the only one using this new library, so feel free to bring in some opinions and ideas. Feel free to open a pull request against this migrate-MapboxNavigationApp branch. Or create new pull requests.

cc: @mapbox/navigation-android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants