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 A7202200B8B for ; Tue, 4 Oct 2016 16:29:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A5E6D160AC5; Tue, 4 Oct 2016 14:29: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 EC79F160ADC for ; Tue, 4 Oct 2016 16:29:21 +0200 (CEST) Received: (qmail 39493 invoked by uid 500); 4 Oct 2016 14:29:20 -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 39418 invoked by uid 99); 4 Oct 2016 14:29:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 14:29:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7F7E02C2A64 for ; Tue, 4 Oct 2016 14:29:20 +0000 (UTC) Date: Tue, 4 Oct 2016 14:29:20 +0000 (UTC) From: "Alexander Sorokin (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-11951) Plugin preference default value is not being saved to .json MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Oct 2016 14:29:22 -0000 Alexander Sorokin created CB-11951: -------------------------------------- Summary: Plugin preference default value is not being saved to .json Key: CB-11951 URL: https://issues.apache.org/jira/browse/CB-11951 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 6.3.1 Environment: Windows 10 with anniversary update Reporter: Alexander Sorokin Plugin preference default value is not being saved to .json {noformat} cordova create foo cd foo cordova platform add android cordova plugin add cordova-plugin-ms-azure-mobile-engagement --variable AZME_ANDROID_CONNECTION_STRING=Endpoint=0;AppId=0;SdkKey=0 --variable AZME_ENABLE_PLUGIN_LOG=false {noformat} check out `./platforms/android/android.json` or `./pluguns/android.json` it has the following lines: {code} "installed_plugins": { <...> "cordova-plugin-ms-azure-mobile-engagement": { "AZME_ENABLE_PLUGIN_LOG": "false", "AZME_ANDROID_GOOGLE_PROJECT_NUMBER": "null", "AZME_ANDROID_REACH_ICON": "icon", "AZME_ANDROID_CONNECTION_STRING": "Endpoint=0;AppId=0;SdkKey=0", "PACKAGE_NAME": "io.cordova.hellocordova" } }, {code} You can see that "AZME_ENABLE_PLUGIN_LOG" is saved here, while "AZME_ENABLE_NATIVE_LOG" is not. They both can be found in the plugin section of the plugin's `plugin.xml` file: https://github.com/Azure/azure-mobile-engagement-cordova/blob/master/plugin.xml#L29 Note that the Android-specific preferences have been saved correctly. -- 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