dpa99c / phonegap-launch-navigator

Phonegap/Cordova plugin which launches native route navigation apps for Android, iOS and Windows
369 stars 131 forks source link

exclude application from routing application list #219

Closed ansarikhurshid786 closed 5 years ago

ansarikhurshid786 commented 5 years ago

is there any option to exclude application from suggested application for routing list?

dpa99c commented 5 years ago

The out-of-the-box UI included with the plugin provides basic functionality for a quickstart that follows the most common use cases.

However, if you want to create bespoke UI behaviour such as excluding available navigation apps from the list presented to the user, you can create your own UI to manage this using the plugin's API functions such as availableApps() to return a list of the available supported navigation apps which are installed on the current device and then filter that list before presenting to the user.

The AdvancedExample app in the example repo demonstrates how to create a custom UI using the plugin API functions.