Closed madc0w closed 5 years ago
I'm having this same issue.
cordova-android
: 6.4.0uk.co.workingedge.phonegap.plugin.launchnavigator
: 5.0.2Ok, I'll patch across the fix for https://github.com/dpa99c/react-native-launch-navigator/issues/1 when I get a minute
Same issue, I use it without react, is there a solution too?
Android 4.4.2
Published in 5.0.3 which is now latest version on npm: https://www.npmjs.com/package/uk.co.workingedge.phonegap.plugin.launchnavigator
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