Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D29B6200B97 for ; Sun, 9 Oct 2016 12:58:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D147A160AC3; Sun, 9 Oct 2016 10:58:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0D339160AED for ; Sun, 9 Oct 2016 12:58:21 +0200 (CEST) Received: (qmail 25832 invoked by uid 500); 9 Oct 2016 10:58:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 25715 invoked by uid 99); 9 Oct 2016 10:58:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2016 10:58:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C406F2C0D54 for ; Sun, 9 Oct 2016 10:58:20 +0000 (UTC) Date: Sun, 9 Oct 2016 10:58:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 09 Oct 2016 10:58:22 -0000 [ https://issues.apache.org/jira/browse/CB-11962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15559797#comment-15559797 ] ASF GitHub Bot commented on CB-11962: ------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/cordova-plugin-geolocation/pull/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