Closed cissemy closed 7 years ago
Use the appSelectionList
option as documented in the Parameters section to do this.
Hi, For the selectionList , can i do something like this :
launchnavigator.navigate("Address B", { start: "Address A", appSelectionList: [launchnavigator.APP.GOOGLE_MAPS,launchnavigator.APP.WAZE, launchnavigator.APP.HERE_MAPS,launchnavigator.APP.CITYMAPPER] });
On Wed, Jun 7, 2017 at 3:49 PM, Dave Alden notifications@github.com wrote:
Closed #132 https://github.com/dpa99c/phonegap-launch-navigator/issues/132.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpa99c/phonegap-launch-navigator/issues/132#event-1114325964, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFUiTeewdTJ8AQEybWDZKZlCUP-KQBkks5sBv7KgaJpZM4NzLWS .
-- CISSE M. Y. Sofware/Web Developer Phone :(347) 443-9028
Yes. Usage is illustrated in the Advanced Example
Is there an option to make 1 map a default in the list ?
On Wed, Jun 7, 2017 at 4:46 PM, Dave Alden notifications@github.com wrote:
Yes. Usage is illustrated in the Advanced Example https://github.com/dpa99c/phonegap-launch-navigator-example/blob/master/AdvancedExample/www/index.js#L108
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpa99c/phonegap-launch-navigator/issues/132#issuecomment-306919597, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFUicUAhW3JJQ4h7whUsCBZAioL9FE9ks5sBwwigaJpZM4NzLWS .
-- CISSE M. Y. Sofware/Web Developer Phone :(347) 443-9028
No, there's not a built-in mechanism to enable the use to choose a default (the action sheet widget doesn't support this), but you can use appSelectionCallback
to be informed which app the user selected the first time and app
to launch that specific app without asking the user again on the next time navigate()
is called.
The alternative is to create your own UI to do this: use availableApps()
to list the available apps on the device and pass the selected app to navigate()
as app
.
Thanks
On Wed, Jun 7, 2017 at 5:03 PM, Dave Alden notifications@github.com wrote:
No, there's not a built-in mechanism to enable the use to choose a default (the action sheet widget doesn't support this), but you can use appSelectionCallback to be informed which app the user selected the first time and app to launch that specific app without asking the user again on the next time navigate() is called.
The alternative is to create your own UI to do this: use availableApps() to list the available apps on the device and pass the selected app to navigate() as app.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpa99c/phonegap-launch-navigator/issues/132#issuecomment-306924329, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFUibs5TAWA4To6Kee9SJ9IP8yBj2V9ks5sBxA8gaJpZM4NzLWS .
-- CISSE M. Y. Sofware/Web Developer Phone :(347) 443-9028
Hi, Is it possible to build your own list of applications? Suppose i want only Google and Waze to appear in the selection box