Closed sbellver closed 2 years ago
@sbellver Did you get a solution or what library did you use?
Finally we use a link instead. Works on PWA and in Capacitor
text: 'Google Maps',
icon: mapOutline,
handler: () => {
window.open("https://www.google.com/maps/search/?api=1&query="+destination)
}
})
actionLinks.push({
text: 'Waze',
icon: carSportOutline,
handler: () => {
window.open("https://waze.com/ul?ll="+destination+"&navigate=yes&z=10");
}
});
If mobile have the apps installed, it open it directly
This plugin doesn't depend on Angular is has no dependencies.
However you installed it indirectly via the @awesome-cordova-plugins
bundle.
The name of this package on npm is uk.co.workingedge.phonegap.plugin.launchnavigator
Bug report
CHECKLIST
[X] I have read the issue reporting guidelines
[X] I confirm this is a suspected bug or issue that will affect other users
[X] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
[X] I have read the documentation thoroughly and it does not help solve my issue.
[X] I have checked that no similar issues (open or closed) already exist.
Current behavior:
I install the plugin in my current ionic 6 app (Vue)
Then I have an error in console:
Expected behavior:
Can use it in ionic with Vue, as we use it with Angular