dpa99c / react-native-launch-navigator

A React Native module for launching today's most popular navigation/ride apps to navigate to a destination.
143 stars 34 forks source link

[FEATURE] Native chooser for ios #8

Open jahicDario opened 5 years ago

jahicDario commented 5 years ago

Feature request

Is there a way to let the user to pick the app to start navigation like in Android with LaunchNavigator.APP.GEO. I noticed that you have that option for phonegap: _launchnavigator.APP.USERSELECT (Android & iOS) - invokes native UI for user to select available navigation app and I think it would be nice to implement this for ReactNative as well.

dpa99c commented 5 years ago

Yes this is something I'd like to port across from the Cordova/Phonegap version when I have some time.

ansarikhurshid786 commented 4 years ago

it has native chooser for android

LaunchNavigator.navigate([this.state.onwaniMarker[1], this.state.onwaniMarker[0]], {
                    app: LaunchNavigator.APP.GEO
                }).then(() => {
                    console.log("Launched navigator");
                });
ansarikhurshid786 commented 4 years ago

is there any option for ios?