You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gauthier Saison (JIRA)" <ji...@apache.org> on 2018/05/10 23:31:00 UTC

[jira] [Created] (CB-14085) cordova-plugin-geolocation no more working on iOS 11

Gauthier Saison created CB-14085:
------------------------------------

             Summary: cordova-plugin-geolocation no more working on iOS 11
                 Key: CB-14085
                 URL: https://issues.apache.org/jira/browse/CB-14085
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-geolocation
    Affects Versions: cordova-android-7.0.0
            Reporter: Gauthier Saison


The apache plugin cordova-plugin-geolocation is fully reliable on android but now bugged on iOS caused by missed properties injections in the plist file:
NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription have to be precised on [the offcial Apple documentation|https://developer.apple.com/documentation/corelocation/choosing_the_authorization_level_for_location_services/requesting_always_authorization].

Those entries can now be added directly on the plugin installation by requesting a IOS_USAGE_DESCRIPTION variable.

To fix this problem, a few lines has to be added on the plugin.xml, and the readme has to be updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org