Page 1 of 1
Would like to use your current location
Posted: Fri Apr 01, 2016 10:41 pm
by Ben Walker
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?
Would like to use your current location
Posted: Sat Apr 02, 2016 10:37 am
by Paolo8135208
Hi,
I had the same problem, I solved using deviceready instead of page show or load
i.e device ready invoke service geolocationService
Would like to use your current location
Posted: Tue Apr 19, 2016 6:40 pm
by Ben Walker
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?
Would like to use your current location
Posted: Tue Apr 19, 2016 7:41 pm
by Serhii Kulibaba
Hello Ben,
Could you move that service to the "page show" event?
Would like to use your current location
Posted: Tue Apr 19, 2016 8:18 pm
by Ben Walker
If I fire the service on a page show event, I get the very long and ugly request for permission to use location..
Would like to use your current location
Posted: Sun Feb 18, 2018 4:16 pm
by Lydia
hi i have the same problem exactly did you reach any solution?