I am experiencing issues with invocation of navigator from within my app as tested on iOS device.
When I invoke the following JS on click of a listItem on a page things work perfectly well and a new page with apple maps navigator opens up:
code
var uriDestString = "maps:daddr=" + someAddress;
window.location = uriDestString;
/code
However when the above JS is invoked on click of a pop-up which opens when a marker on a map is clicked, nothing happens and the navigator does not launch. Note that without the recent Appery upgrade things seem to be fine which leads me to believe that it is a problem with your upgraded libraries. When I change the above JS associated with click of a pop-up from a marker to the following:
code
var uriDestString = "http://maps.apple.com/?daddr=" + someAddress;
window.open(uriDestString, '_blank');
window.focus();
/code
things work fine on browser on MAC, but when tested on device, mysteriously google.com/maps opens up when I would want the navigator associated natively with the device (Apple maps) to launch? I've tested on two different iPhones with this same anomaly.
Are these bugs in Appery?