You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/01 14:30:09 UTC
[GitHub] Arxi commented on issue #139: Location does not turn on
Arxi commented on issue #139: Location does not turn on
URL: https://github.com/apache/cordova-plugin-geolocation/issues/139#issuecomment-459740568
> Im trying to understand, so what does the above permission request box do?. and do we need to use some other cordova plugin to turn on the location service?
@rashnk It simply asks the user if he/she will give the app the permission to access the location data. It does not ask him to _turn on_ the location services. Those are two different things - users can turn on/off the location services (in phone settings; or by tapping on location icon in quick settings on Android etc) and also give individual permissions to app to be able to utilize those service.
If you need to prompt the user to turn the location services on, you'll need to use other plugins. You can start with this: https://github.com/dpa99c/cordova-diagnostic-plugin#isgpslocationenabled and this: https://github.com/dpa99c/cordova-plugin-request-location-accuracy
Or if you happened to find a solution in the meantime, please do post your solution - thanks!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org