googlemaps / react-native-navigation-sdk

Apache License 2.0
25 stars 5 forks source link

Support for custom controls #190

Open ziga-hvalec opened 3 months ago

ziga-hvalec commented 3 months ago

Is there some ui element which allows users to select between Alerts only, Guidance and alerts, and silence? Same as what google maps already offers? I saw there is a method to set which audio option you want but can't fine any UI for this.

TrentonBlackburn commented 3 months ago

@ziga-hvalec bumping on this ^. Right now there is only a function to change the setting, no UI as far as I saw.

I just had to re-create that collapsible pill element myself and overlay it over the SDK, so I understand your struggle.

This would be very very nice to have!

ziga-hvalec commented 3 months ago

i'm about to recreate it myself too. I'm just struggling with positioning. I'm not sure where to position it so it doesn't cover any of the existing ui

illuminati1911 commented 3 months ago

@ziga-hvalec Thanks for the feature request.

TrentonBlackburn commented 3 months ago

@ziga-hvalec Yep, same issue lol. Kind of impossible to get a perfect relative position since we don't have access to NavigationView sub-components in the DOM, so I just kinda had to place it at a decent-ish percentage in terms of y-axis. Good luck!

image