mapbox-navigation-android
mapbox-navigation-android copied to clipboard
Allow global static access to app context
There's a lot of different use cases for having access to context globally in the SDK. We could do something similar to what they do in the telemetry library.
Is this something we still want to consider in 1.0 @mapbox/navigation-android?
cc @kmadsen
OH yeah I totally think we should do this. Happy to see other tickets suggesting it
https://github.com/mapbox/mapbox-navigation-android/pull/3071/files#diff-f104da15d8909da5bcb1f24fae3d746eR63 ^ Let's move it here
The MapboxDistanceFormatter is one interface I came across that would benefit https://github.com/mapbox/mapbox-navigation-android/issues/3016