homeeondemand/react-native-mapbox-navigation

Multiple random languages show up (Spanish, English, Hungarian) in same screen

soboko opened this issue · 7 comments

So things generally work, but I still see multiple languages appear when using this component, sometimes even within the same screen. Voice navigation and directions are always in English (I'm in the US) but other text often appears in other languages.

In this case I'm seeing a mix of Spanish, English, and Hungarian. An odd mix. Could be a tasty cuisine :) but not ideal for a consumer-facing app.

IMG_E88C8EF55E7D-3

Also, it seems like #21 is still an issue. I have showsEndOfRouteFeedback={false} but I'm still getting the navigation feedback screen, which I don't really want.

Also also, clicking on "End Navigation" here has no effect.

Hey, just to say that I have the exact same as above. And the same with shouldSimulateRoute enabled. And if I click the report a problem icon I get a mix of languages.

Could this be fixed by being able to drop a locale option in here?:

let options = NavigationRouteOptions(waypoints: [originWaypoint, destinationWaypoint])

(Ref: https://docs.mapbox.com/ios/directions/api/1.2.0/Classes/DirectionsOptions.html#/s:16MapboxDirections0B7OptionsC6locale10Foundation6LocaleVvp)

I'm having the same issue

@soboko and @jimhill Did you ever find a working solution?

Has anyone found something around this? Mine is only showing russian

Hey there. We actually ended up writing our own smaller lib (as we only needed a small bit) in combination with Swift Package Manager. I know that's not a great answer, but it meant we got to run v2+ rather than 1+. That completely fixed it.

@jimhill Oh nice, I'm trying to do that but can't find a clear way around using UIViewController since the native modules won't display those. Mind sharing any workaround you have for that with the current versions if you ran into something similar? I'm currently just following the steps here to try and get the map rendered https://docs.mapbox.com/ios/maps/guides/install/

I am still facing this issue. Did anyone manage to get it resolved?
I tested mapbox-navigation-ios-examples whcih is Swift project(https://github.com/mapbox/mapbox-navigation-ios-examples), but it's working properly.
But not working in the react-native project(https://github.com/homeeondemand/react-native-mapbox-navigation).
The difference I found is that the Swift project uses use_framework.