Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

GeoLocationService keeps asking for permission on app launch

Hi.

I am invoking Device - GeoLocationService on my start page.

On device testing + Xcode simulator (IOS), the app keeps asking 2 times, every time I launch the app, to allow app using my location + 1 more time for startScreen.html to use my location.

Like this:

  • Launch app

  • AppName would like to use your location (OK/Don't allow)

  • ../xxx/startScreen.html would like to use your location (OK/Don't allow)

    This happens on every launch of app.

    How Can I avoid this? Saving this setting, so the app-user do not have to "allow" using location several times, every time app launches!?!

    Should be enough to allow this 1 time!?!

    Thanks!
    -Tom

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

GeoLocationService keeps asking for permission on app launch

Hi Tom,

Please check, perhaps you are invoking GeoLocation service several times.

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

GeoLocationService keeps asking for permission on app launch

only invoking 1 time.
code
startScreen
Load
Invoke service Datasource: startGeoLocationService
/code

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

GeoLocationService keeps asking for permission on app launch

Can you post us a public link, so we can test it?

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

GeoLocationService keeps asking for permission on app launch

Here is a screenshot of what is happening, and my setup:
Image

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

GeoLocationService keeps asking for permission on app launch

You will need to test in xcode or on a device. In mobile preview, it only ask 1 time.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

GeoLocationService keeps asking for permission on app launch

We'll test this case, Tom. And update you here.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

GeoLocationService keeps asking for permission on app launch

I ́ve the same problem.

Actually this is my post

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

Please update us.

Regards

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

GeoLocationService keeps asking for permission on app launch

Hello! We reported this issue as a bug. Sorry for inconvenience.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

GeoLocationService keeps asking for permission on app launch

Hello!

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

Return to “Issues”