cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Alden (JIRA)" <>
Subject [jira] [Commented] (CB-10478) getCurrentPosition should trigger system dialog for enabling location services
Date Wed, 20 Jul 2016 10:14:20 GMT


Dave Alden commented on CB-10478:

cordova-plugin-request-location-accuracy@2.0.0 (
enables a direct location request to be made which triggers the native iOS dialog to directly
open the Privacy page in the Settings app where the switch for Location Services is located.

> getCurrentPosition should trigger system dialog for enabling location services
> ------------------------------------------------------------------------------
>                 Key: CB-10478
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: Plugin Geolocation
>         Environment: iOS, Android
>            Reporter: Zarko Hristovski
>              Labels: features, iOS, triaged
> The use case is when an app/user needs to access geoposition while 
> device's location services are disabled. Let's say for the first time / 
> attempt.
> While I've been able to find a way to send the user directly to the 
> system setting on Android (via cordova-diagnostic-plugin's 
> switchToLocationSettings),
> it seems to be no obvious way to achieve the same on iOS with the 
> plugin(s) at present.
> I'll point you to two existing threads that explain in more detail so 
> that I don't repeat myself here:
> -
> -
> I thus suggest extending getCurrentPosition with an option for a better UX in case the
device's location services are disabled. On iOS it should trigger the system dialog where
the user is given a choice between "Settings" and "Cancel". "Settings" gives the user the
possibility to go straight into Settings->Privacy->Location Services.
> I would suggest covering the same for Android, even thought this issue is concerned mainly
with the UX on iOS.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message