mapbox-navigation-android icon indicating copy to clipboard operation
mapbox-navigation-android copied to clipboard

Want to retrieve NavigationStatus provided by native module

Open OttyLab opened this issue 4 years ago • 4 comments

Android API: Mapbox Navigation SDK version: v1.3.0 and later

Feature request

In some case NavigatoionStatus is useful in user code.

Latest code has a method to get NavigatoionStatus from native module here. However, the method is private and user code cannot retrieve it.

From user point of view, if onRouteProgressChanged contains NavigatoionStatus, it's easy to handle it.

OttyLab avatar Jan 14 '21 14:01 OttyLab

That's on purpose. We don't want to expose NN NavigatoionStatus. What are you missing from it that you don't have access to?

cc @mskurydin @SiarheiFedartsou

Guardiola31337 avatar Mar 16 '21 18:03 Guardiola31337

@Guardiola31337

Thank you for checking this issue. Initially, we wanted road name but it can be obtained from EHorizon now. So we can close this ticket now. The underlying question was that why Android does not provide NavigationStatus while iOS does.

OttyLab avatar Mar 16 '21 23:03 OttyLab

Is @mapbox/navigation-ios exposing NN underlying models?

Guardiola31337 avatar Mar 17 '21 00:03 Guardiola31337

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 02 '22 10:05 stale[bot]