Page 1 of 1
GeoLocationService keeps asking for permission on app launch
Posted: Sat Mar 08, 2014 9:34 am
by Tom6106181
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
GeoLocationService keeps asking for permission on app launch
Posted: Sat Mar 08, 2014 10:45 am
by Illya Stepanov
Hi Tom,
Please check, perhaps you are invoking GeoLocation service several times.
GeoLocationService keeps asking for permission on app launch
Posted: Sat Mar 08, 2014 11:40 am
by Tom6106181
only invoking 1 time.
code
startScreen
Load
Invoke service Datasource: startGeoLocationService
/code
GeoLocationService keeps asking for permission on app launch
Posted: Sat Mar 08, 2014 12:24 pm
by Illya Stepanov
Can you post us a public link, so we can test it?
GeoLocationService keeps asking for permission on app launch
Posted: Sun Mar 09, 2014 10:13 am
by Tom6106181
Here is a screenshot of what is happening, and my setup:
GeoLocationService keeps asking for permission on app launch
Posted: Sun Mar 09, 2014 10:15 am
by Tom6106181
You will need to test in xcode or on a device. In mobile preview, it only ask 1 time.
GeoLocationService keeps asking for permission on app launch
Posted: Mon Mar 10, 2014 6:14 am
by Illya Stepanov
We'll test this case, Tom. And update you here.
GeoLocationService keeps asking for permission on app launch
Posted: Tue Mar 11, 2014 11:50 pm
by Alex GG
I ́ve the same problem.
Actually this is my post
https://getsatisfaction.com/apperyio/...
Please update us.
Regards
GeoLocationService keeps asking for permission on app launch
Posted: Wed Mar 12, 2014 12:10 pm
by Maryna Brodina
Hello! We reported this issue as a bug. Sorry for inconvenience.
GeoLocationService keeps asking for permission on app launch
Posted: Tue Apr 08, 2014 9:19 am
by Maryna Brodina
Hello!
You should call geolocation service on 'deviceready' event instead 'pageshow'