Upon initial launch of my app, I get a permissions alert asking if I will allow the app to use my current location. My onAlert
method successfully dismisses the alert on my device. When I run it on the simulator, it never gets called. Other internal alerts are handled by the onAlert
method on the simulator. The permission alert coming from SpringBoard
is not handled on the simulator. Any ideas?
UIATarget.onAlert = function onAlert(alert)
{
var title = alert.name();
UIALogger.logMessage(title);
return false;
}