Ben Walker
Posts: 0
Joined: Mon Jan 19, 2015 2:13 pm

Would like to use your current location

I'm using a gelocation and push services in my app. Along with the usual requests I get one very ugly request:

/var/containers/Bundle/Application/ID/xxx.app/www/project/pagename.html would like to use your current location.

How do I stop this appearing? Would have thought one request to use location is enough?

Paolo8135208
Posts: 0
Joined: Sun Mar 27, 2016 4:13 pm

Would like to use your current location

Hi,
I had the same problem, I solved using deviceready instead of page show or load

i.e device ready invoke service geolocationService

Ben Walker
Posts: 0
Joined: Mon Jan 19, 2015 2:13 pm

Would like to use your current location

I need the geolocation on page show event, since I need that service to fire every time the user returns to this page.

I added a geolocation on device ready event too: now I get the more normal request the first time you use the app ("xxx would like to use your location")... but I still get the ugly request each time I open the app after that.

Any pointers please?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Would like to use your current location

Hello Ben,

Could you move that service to the "page show" event?

Ben Walker
Posts: 0
Joined: Mon Jan 19, 2015 2:13 pm

Would like to use your current location

If I fire the service on a page show event, I get the very long and ugly request for permission to use location..

Lydia
Posts: 0
Joined: Mon Dec 21, 2015 12:02 pm

Would like to use your current location

hi i have the same problem exactly did you reach any solution?

Return to “Issues”