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 B755F200B9A for ; Fri, 7 Oct 2016 10:37:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B5D53160AE8; Fri, 7 Oct 2016 08:37:23 +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 066B4160AD6 for ; Fri, 7 Oct 2016 10:37:22 +0200 (CEST) Received: (qmail 78045 invoked by uid 500); 7 Oct 2016 08:37:22 -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 78034 invoked by uid 99); 7 Oct 2016 08:37:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2016 08:37:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0CF5A2C0D52 for ; Fri, 7 Oct 2016 08:37:22 +0000 (UTC) Date: Fri, 7 Oct 2016 08:37:22 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-11803) Plugin features don't get written to iOS-specific config.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Oct 2016 08:37:23 -0000 [ https://issues.apache.org/jira/browse/CB-11803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-11803: ---------------------------------- Description: When running `cordova prepare` or `cordova platform add ios` after adding plugins, the platform-specific config.xml file for iOS (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which effectively prevents any installed plugin from working. The tags *do* get added when installing plugins *after* the iOS platform was created. How to reproduce - this creates a working config.xml: {code} cordova create test cd test cordova platform add ios cordova plugin add cordova-plugin-device --save {code} This creates a broken config.xml (resulting in `Plugin 'Device' not found, or is not a CDVPlugin.` error when running on a an iPhone): {code} cordova create test cd test cordova plugin add cordova-plugin-device --save cordova platform add ios {code} was: When running `cordova prepare` or `cordova platform add ios` after adding plugins, the platform-specific config.xml file for iOS (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which effectively prevents any installed plugin from working. The tags *do* get added when installing plugins *after* the iOS platform was created. How to reproduce - this creates a working config.xml: cordova create test cd test cordova platform add ios cordova plugin add cordova-plugin-device --save This creates a broken config.xml (resulting in `Plugin 'Device' not found, or is not a CDVPlugin.` error when running on a an iPhone): cordova create test cd test cordova plugin add cordova-plugin-device --save cordova platform add ios > Plugin features don't get written to iOS-specific config.xml > ------------------------------------------------------------ > > Key: CB-11803 > URL: https://issues.apache.org/jira/browse/CB-11803 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, iOS, Plugins > Affects Versions: 6.3.1 > Reporter: Matus Koprda > Priority: Critical > > When running `cordova prepare` or `cordova platform add ios` after adding plugins, the platform-specific config.xml file for iOS (`platforms/ios/NAME/config.xml`) doesn't have `` tags, which effectively prevents any installed plugin from working. > The tags *do* get added when installing plugins *after* the iOS platform was created. > How to reproduce - this creates a working config.xml: > {code} > cordova create test > cd test > cordova platform add ios > cordova plugin add cordova-plugin-device --save > {code} > This creates a broken config.xml (resulting in `Plugin 'Device' not found, or is not a CDVPlugin.` error when running on a an iPhone): > {code} > cordova create test > cd test > cordova plugin add cordova-plugin-device --save > cordova platform add ios > {code} -- 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