Page 1 of 1

"MyApp would like to use your current location" two times..

Posted: Tue Mar 11, 2014 10:56 pm
by Alex GG

Hello !

I have installed .ipa on two devices (ipad and iphone) and in both, when I open the App, two popup windows open asking about using my current location.

In my start Screen I have setup a geolocatation service, in order to check if user have turned on his location services...

I guess first popup is OK...(this one)

Image

but what can I do to prevent this one to appear..

Image

The second screen doesn ́t appear on android device..

Regards


"MyApp would like to use your current location" two times..

Posted: Tue Mar 11, 2014 11:35 pm
by Igor

Hello,

This is known issue on which we are working already.

Please follow this topic:

https://getsatisfaction.com/apperyio/...


"MyApp would like to use your current location" two times..

Posted: Tue Mar 11, 2014 11:51 pm
by Alex GG

thanks Igor..


"MyApp would like to use your current location" two times..

Posted: Mon Apr 14, 2014 12:50 pm
by Maryna Brodina

Hello!

This is not a bug, you should call geolocation service on 'deviceready' event instead 'pageshow'


"MyApp would like to use your current location" two times..

Posted: Mon Apr 14, 2014 2:37 pm
by Alex GG

Hello Maryna,
I ́m calling geolocation on pageshow event...I ́m going to instal .ipa on my device, and update you about it!

Thanks!


"MyApp would like to use your current location" two times..

Posted: Mon Apr 14, 2014 4:11 pm
by Alex GG

Maryna, I made a simple app, just calling geolocation service on pageshowevent, and got the same message...If this is not a bug, what I ́m doing wrong?


"MyApp would like to use your current location" two times..

Posted: Mon Apr 14, 2014 4:27 pm
by Maryna Brodina

You should call geolocation service on 'deviceready' event instead 'pageshow'


"MyApp would like to use your current location" two times..

Posted: Mon Apr 14, 2014 10:38 pm
by Alex GG

Thanks! Its working as expected now =)