I’m using the phonegap geolocation plugin through navigator.geolocation.getCurrentPosition
, which requires cordova to be loaded before it works. To make sure cordova loaded, I wrap the geolocation call in ionic.Platform.ready(function(){})
. Wrapping the geolocation call in this function ensures that, on iOS, the geolocation permissions dialogue says
"App" would like to use your locationrather than
var/www/[gibberish] would like to use your location
Recently, I updated to 0.9.26 and that has caused two issues:
- The ugly geo permissions dialogue is back in iOS
- On android, any code inside the
ionic.Platform.ready(function(){})
callback won’t fire
Can anyone confirm a change in the behavior of ionic.Platform.ready
?