Describe the bug
We use FtcrNavigationManager, before calculating new route, I create routeOptions with languafe French. After route is calculated, and navigation is started, everything is ok, the language is French. But we listen a reroute event in the navigation listener, and when it comes, and I start the navigation with the new route from the listener, it speaks with English Language.
Steps To Reproduce
Steps to reproduce the behavior:
1) create
private val routeOptions = FTCRRouteOptions().apply {
setUseTraffic(true)
routeType = FTCRRouteOptions.Type.FASTEST
transportMode = FTCRRouteOptions.TransportMode.CAR
addParameter("language", "fr-fr")
addParameter("algopts", "vehicleType:taxi")
}
2) calculate route
3) add FTCRNavigationManager.FTCRNavigationManagerListener to navigator
4) start navigation, language is French it is ok
5) deviate from the route
6) get new route in event onRerouteEnd in FTCRNavigationManager.FTCRNavigationManagerListener
7) start navigation with new route
8) The language is English, not French, I think because all FTCRRouteOptions skips
Expected behavior
language is French and other FTCRRouteOptions are saved during reroute in listener
Describe the bug We use FtcrNavigationManager, before calculating new route, I create routeOptions with languafe French. After route is calculated, and navigation is started, everything is ok, the language is French. But we listen a reroute event in the navigation listener, and when it comes, and I start the navigation with the new route from the listener, it speaks with English Language.
Steps To Reproduce Steps to reproduce the behavior: 1) create private val routeOptions = FTCRRouteOptions().apply { setUseTraffic(true) routeType = FTCRRouteOptions.Type.FASTEST transportMode = FTCRRouteOptions.TransportMode.CAR addParameter("language", "fr-fr") addParameter("algopts", "vehicleType:taxi") } 2) calculate route 3) add FTCRNavigationManager.FTCRNavigationManagerListener to navigator 4) start navigation, language is French it is ok 5) deviate from the route 6) get new route in event onRerouteEnd in FTCRNavigationManager.FTCRNavigationManagerListener 7) start navigation with new route 8) The language is English, not French, I think because all FTCRRouteOptions skips
Expected behavior language is French and other FTCRRouteOptions are saved during reroute in listener