Page 1 of 1

Native google maps

Posted: Mon Sep 19, 2016 11:50 am
by Deon

Hi

I use this code to open the native google maps app for navigation on Android.
This code does not work for IOS. What do I need to do to get the same result on Apple?

var address = Apperyio("address").text().replace(/[ \n\r]/gi, "");
window.open('geo:0,0?q=' + address, '_system');

Thank you


Native google maps

Posted: Mon Sep 19, 2016 1:32 pm
by Serhii Kulibaba

Hello,

Unfortunately this is outside the scope of our support. Please search online for appropriate solution.


Native google maps

Posted: Mon Sep 19, 2016 1:49 pm
by Deon

You guys provided me this code for Android, why cant you help with IOS?


Native google maps

Posted: Tue Sep 20, 2016 3:25 am
by Deon

I have now researched this topic on Getsatisfaction and on Internet especially Stackoverflow to which you guys refer.

MANY references are to loading native apps on Apple refer to ....

wndow.open("http://maps.apple.com/?addr=destinati...");
THIS DOES NOT WORK in the Appery tester.

Is there any reason for this?
window.open does not seem to work for any url.


Native google maps

Posted: Tue Sep 20, 2016 12:54 pm
by Illya Stepanov

Hi Deon, could you please test this code running in the app installed on the device. Appery.io Tester app does not replicates all device features and JS transactions, we recommend to test apps on actual device.