cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11962) NSLocationWhenInUseUsageDescription in Info.plist is always empty and gets reset to empty whenever the app is built. This improves the process of adding the plugin so that the value is always set
Date Thu, 08 Dec 2016 00:57:59 GMT

    [ https://issues.apache.org/jira/browse/CB-11962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730592#comment-15730592
] 

ASF subversion and git services commented on CB-11962:
------------------------------------------------------

Commit f9f7a23c57daad5514ce3d830a2defeb93ba3f78 in cordova-plugin-geolocation's branch refs/heads/2.4.x
from obione
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=f9f7a23 ]

CB-11962: (ios) Added variable for setting NSLocationWhenInUseUsageDescription

 This closes #83


> NSLocationWhenInUseUsageDescription in Info.plist is always empty and gets reset to empty
whenever the app is built. This improves the process of adding the plugin so that the value
is always set
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11962
>                 URL: https://issues.apache.org/jira/browse/CB-11962
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Geolocation
>         Environment: iOS
>            Reporter: Obi Onuorah
>            Priority: Trivial
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> When the geolocation plugin is added using the command
> cordova plugin add cordova-plugin-geolocation
> no value is added in the plugin.xml file for the NSLocationWhenInUseUsageDescription
even though it is in there it is empty. Updating this Key directly in the plist and it always
gets reset to empty. Updating it in the plugin.xml means removing and adding or updating the
plugins might overwrite the value.
> This fix simply adds it to the config.xml so that it can be specified on installation
using --variable or modified later by changing the value in the config.xml, removing the plugin
using cordova plugin rm and then running cordova prepare which re-adds the plugin with the
updated value of the key



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message