Hello all, I built a web based app and just met a very weird problem in ios. The following code work perfectly in android but not ios. Anybody can help? Really appreciate it!!!
var latlng= Geolocation.latLng();
if(latlng) {
scope.sourceloc=latlng;
comp.stop();
Remote.call(‘customer.current_addrV2’, latlng, function (err, addr) {
scope.$apply(function(){
scope.curaddr=addr;
alert(addr); //cannot popup windows in iphone or ipad
});
});
}
I guess something wrong when Remote.call method is triggered in ios?
Everything works perfectly in android or desktop broswer but not ios, very strange, please help.