googlemaps / react-native-navigation-sdk

Apache License 2.0
25 stars 5 forks source link

navigationViewController.setTrafficIncidentCardsEnabled not working #201

Closed nexttrack07 closed 3 weeks ago

nexttrack07 commented 3 months ago

navigationViewController.setTrafficIncidentCardsEnabled(false) still shows the dismiss dialog with traffic updates/changes.

Environment: iOS and Android

This is in Simulator.

illuminati1911 commented 3 months ago

Thanks for reporting this!

jokerttu commented 3 weeks ago

setTrafficIncidentCardsEnabled controls whether traffic incident cards should be shown when the user clicks on a traffic incident icon.

To control dialog visibility setTrafficPromptsEnabled should be used.

@nexttrack07 note that this method is not implemented; please file new issue to request this feature.

This is not bug on the setTrafficIncidentCardsEnabled method.