You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android, call to launchnavigator.navigate([49.6087477, 6.136253200000056], function() { console.log("launchnavigator success"); }, function(err) { console.error("launchnavigator failed", err); }, {});
results in the error callback being called. Error message is:
Exception occurred: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
when debug is enabled, console output is:
LaunchNavigatorPlugin: Plugin action=availableApps
VM401:1 LaunchNavigatorPlugin: Plugin action=navigate
VM402:1 LaunchNavigator: Called navigate() with params; app=google_maps; dType=pos; dest=[49.6087477,6.136253200000056]; destNickname=null; sType=none; start=null; startNickname=null; transportMode=null; launchMode=maps; extras=null
VM403:1 LaunchNavigator: Using Google Maps to navigate to 49.6087477,6.136253200000056 from current location in maps mode
VM404:1 LaunchNavigator: URI: http://maps.google.com/maps?daddr=49.6087477,6.136253200000056
VM405:1 LaunchNavigatorPlugin: Exception occurred: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
Expected behavior:
Open navigation app selection dialog
Steps to reproduce:
execute the above code from console
Environment information
uk.co.workingedge.phonegap.plugin.launchnavigator version 5.0.2
Meteor 1.8.0.1
running Cordova app on device
Android 6.0.1
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x"):
Bug report
Current behavior:
On Android, call to
launchnavigator.navigate([49.6087477, 6.136253200000056], function() { console.log("launchnavigator success"); }, function(err) { console.error("launchnavigator failed", err); }, {});
results in the error callback being called. Error message is:
Exception occurred: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
when debug is enabled, console output is:
Expected behavior:
Open navigation app selection dialog
Steps to reproduce:
execute the above code from console
Environment information
uk.co.workingedge.phonegap.plugin.launchnavigator version 5.0.2
Meteor 1.8.0.1
running Cordova app on device
Android 6.0.1
The text was updated successfully, but these errors were encountered: