Eric Eric - 4 months ago 41
iOS Question

Cordova iOS location message

I use the plugin cordova-plugin-geolocation. My only issue is that the message prompt to allow location looks like this:

Would like to use your location.

Is there anyway to have something a little bit sexier, like

my_project would like to use your location


Added some code, for the non believers

document.addEventListener("deviceready", onDeviceReady, false);

function onDeviceReady(){

navigator.geolocation.getCurrentPosition(onLocationSuccess, onLocationError, {maximumAge:3000, timeout:2000, enableHighAccuracy:true});

function onLocationSuccess(){


function onLocationError(){



Thanks Kerri for the help. As I mentioned in the comments:

Yup uninstalling and reinstalling the plugin fixed it, I don't get the warning nor native code, thanks for your help, closing this question