I have a Phonegap
app. I am including cordova.js
in the HTML (but not in the www
directory), I am waiting for deviceready
to be fired, and then I'm calling
navigator.geolocation.getCurrentPosition(successCallback,failCallback);
I'm receiving both versions of the dialog (in this order):
Native Dialog - https://i.stack.imgur.com/H5y1O.png
HTML Dialog - https://i.stack.imgur.com/XbcmR.png