Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Migrate examples from `MapboxNavigationProvider` to `MapboxNavigationApp`

Aperta
#128 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

  • #129 di @kmadsen — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
kotlin
Ambito
mobile

Direzione di ricerca

Inizia con il piano di migrazione e le attività di esempio elencate, quindi esamina la documentazione di MapboxNavigationApp e la qa-test-app per individuare pattern di migrazione. Il branch migrate-MapboxNavigationApp e le risorse architetturali collegate forniscono ulteriore contesto. Il lavoro è completato quando gli esempi elencati sono stati migrati in modo coerente oppure è stata documentata la decisione di continuare a usare direttamente MapboxNavigation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

jira-sync-complete

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

Lingua principale
Kotlin
Stelle
65
Fork
56
Merge medio
1g 4h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/mapbox-navigation-android-examples

Tutte le issue di mapbox/mapbox-navigation-android-examples

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.