From issues-return-73282-apmail-cordova-issues-archive=cordova.apache.org@cordova.apache.org Mon Oct 3 23:31:21 2016 Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21D3718575 for ; Mon, 3 Oct 2016 23:31:21 +0000 (UTC) Received: (qmail 10265 invoked by uid 500); 3 Oct 2016 23:31:20 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 10211 invoked by uid 500); 3 Oct 2016 23:31: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 9888 invoked by uid 99); 3 Oct 2016 23:31:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2016 23:31:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 878562C2A69 for ; Mon, 3 Oct 2016 23:31:20 +0000 (UTC) Date: Mon, 3 Oct 2016 23:31:20 +0000 (UTC) From: "Audrey So (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Closed]_(CB-10282)_Don't_?= =?utf-8?Q?show_message_Installing_"cordova-p?= =?utf-8?Q?lugin-XXX"_for_platform_if_the_pl?= =?utf-8?Q?ugin_doesn=C2=B4t_support_that_platform?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10282?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Audrey So closed CB-10282. -------------------------- Resolution: Won't Fix After looking into this issue, it is unfortunately unsolvable. There is no = reliable way of knowing ahead of time if a plugin does not support a platfo= rm. Some plugins do not have platform specific code in plugin.xml, but migh= t contain js only plugins, which might affect the platform. > Don't show message Installing "cordova-plugin-XXX" for platform if the pl= ugin doesn=C2=B4t support that platform > -------------------------------------------------------------------------= ---------------------------------- > > Key: CB-10282 > URL: https://issues.apache.org/jira/browse/CB-10282 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib > Affects Versions: 3.5.0 > Environment: All > Reporter: Michael Stanford > Assignee: Audrey So > Priority: Minor > > Edited message: > I'm editing the issue as the real problem is that when you add a platform= it shows Installing "cordova-plugin-xxx" for platform even if the plugin d= oesn't support that platform. > An example is the cordova-plugin-whitelist, it doesn't support ios but st= ill shows the message Installing "cordova-plugin-whitelist" for ios > Original message > The documentation (at https://www.npmjs.com/package/cordova-plugin-whitel= ist) appears to claim only Android is supported:=20 > "Supported Cordova Platforms > Android 4.0.0 or above" > The warning when you add this plugin to your project also appears to indi= cate that this plugin is not needed on iOS: > "This plugin is only applicable for versions of cordova-android greater t= han 4.0." -- 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