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 F116A200D0A for ; Wed, 30 Aug 2017 08:11:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EF9B816864F; Wed, 30 Aug 2017 06:11:07 +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 4BE4E168652 for ; Wed, 30 Aug 2017 08:11:07 +0200 (CEST) Received: (qmail 27673 invoked by uid 500); 30 Aug 2017 06:11:06 -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 27630 invoked by uid 99); 30 Aug 2017 06:11:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2017 06:11:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AE1E91A1CF7 for ; Wed, 30 Aug 2017 06:11:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id cL9R1VAqvVz6 for ; Wed, 30 Aug 2017 06:11:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7AC3260EE7 for ; Wed, 30 Aug 2017 06:11:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4D7A2E0EB5 for ; Wed, 30 Aug 2017 06:11:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 64A642416F for ; Wed, 30 Aug 2017 06:11:00 +0000 (UTC) Date: Wed, 30 Aug 2017 06:11:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-13145) Create playservices version preference in config.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 30 Aug 2017 06:11:08 -0000 [ https://issues.apache.org/jira/browse/CB-13145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146684#comment-16146684 ] ASF subversion and git services commented on CB-13145: ------------------------------------------------------ Commit e5b8a3c3cf73656552cc25bc0f3a315ac6230521 in cordova-lib's branch refs/heads/master from [~auso] [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=e5b8a3c ] CB-13145 : added unit tests for mergeVariables from util.js and variable-merge.js and updated after review > Create playservices version preference in config.xml > ---------------------------------------------------- > > Key: CB-13145 > URL: https://issues.apache.org/jira/browse/CB-13145 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-lib > Reporter: Steve Gill > Labels: backlog, tools-next > Fix For: cordova@7.2.0 > > > We are seeing an issue in the community of two plugins using different versions of google play services. This causes gradle to error out. We are running into this with the phonegap-push-plugin. > Potential solution: > We could create an Android only preference called PlayServicesVersion in config.xml which would control the version of Play Services used for the entire project. > In config.xml: > {code} > > {code} > Then if the push plugin wanted to include the FCM libraries in it's plugin.xml it would do: > > and the cordova-plugin-google-analytics wanted to include Play Services in it's plugin.xml it would do: > {code} > > {code} > they would both use the same version of Play Services. This gets around the problem of plugins using + in the framework tag and having two plugins pin different versions of Play Services. > The + wildcard fails to compile with the following error: > {code} > > Failed to apply plugin [id 'com.google.gms.google-services'] > > For input string: "+" > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org