mapbox / mapbox-navigation-android

Mapbox Navigation SDK for Android
https://docs.mapbox.com/android/navigation/overview/
Other
621 stars 318 forks source link

Directions Session: migration to Native API instead Router #5501

Open RingerJK opened 2 years ago

RingerJK commented 2 years ago

SDK's DirectionsSession has to migrate to hold NativeNavigator instead of Router. This way any route requests will be processed in NN by default.

Blocker: For now DirectionsSession is used by SDK's MapboxRerouteController, which required refresh route API. When Refresh Route will be migrated to NN, migration should be unblocked.

LukasPaczos commented 2 years ago

The migration is going to be much easier when Nav Native's RouterInterface returns a NavigationRoute.

cc @DenisPryt @SiarheiFedartsou

LukasPaczos commented 2 years ago

Refs https://github.com/mapbox/mapbox-navigation-native/issues/5554.