Closed cperezvinsite closed 8 years ago
Hi, you're right. If the error is that the object haven't no method. Is because the cordova object doesn't have dialogGPS and this occurs for two posibles reasons.
document.addEventListener('deviceready' , function() {
cordova.dialogGPS();
});
Please , try the first option and see if still does not work
Hi I try to install the plugin into my cordova project with :
cordova plugin add https://github.com/rodrigo-martinezd/cordova-dialog-gps.git
After that, and the success of cordova I try to implement the code, but when I do
cordova.dialogGPS()
I get the errorTypeError: Object #
That's because cordova object has no dialogGPS on his structure, I don't know what to do.
If I run
cordova plugin list
I get thiscl.rmd.cordova.dialoggps 0.0.2 "DialogGPS"
And in the folder of plugins there is the dialogs pluginBy the way, I'm using cordova 5 Regards