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 E811B200C31 for ; Wed, 22 Feb 2017 01:33:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E6CB3160B74; Wed, 22 Feb 2017 00:33:48 +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 22366160B7B for ; Wed, 22 Feb 2017 01:33:47 +0100 (CET) Received: (qmail 55492 invoked by uid 500); 22 Feb 2017 00:33:47 -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 55444 invoked by uid 99); 22 Feb 2017 00:33:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2017 00:33:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C30D7186117 for ; Wed, 22 Feb 2017 00:33:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.998 X-Spam-Level: X-Spam-Status: No, score=-1.998 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id euC99Y8VDEeR for ; Wed, 22 Feb 2017 00:33:45 +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 4FCA65F1B8 for ; Wed, 22 Feb 2017 00:33:45 +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 7A905E09F4 for ; Wed, 22 Feb 2017 00:33:44 +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 2FBEB24127 for ; Wed, 22 Feb 2017 00:33:44 +0000 (UTC) Date: Wed, 22 Feb 2017 00:33:44 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11346) Remove known platforms check for Platform API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Feb 2017 00:33:49 -0000 [ https://issues.apache.org/jira/browse/CB-11346?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D158770= 89#comment-15877089 ]=20 ASF GitHub Bot commented on CB-11346: ------------------------------------- Github user purplecabbage commented on the issue: https://github.com/apache/cordova-lib/pull/519 =20 I've started a discuss thread on this subject. https://github.com/cordova/cordova-discuss/issues/64 =20 =20 @purplecabbage risingj.com =20 On Tue, Feb 21, 2017 at 4:20 PM, Jesse wrote: =20 > We should ultimately just be checking that there is a valid platformA= PI, > and if so, use it, otherwise fail. > ( super simplification ) > > > @purplecabbage > risingj.com > > On Tue, Feb 21, 2017 at 4:19 PM, Jesse wrot= e: > >> Yeah, it's deep. If a platform does not have a known name, there wil= l be >> issues currently. >> The only way right now is to fork a blessed platform, but there is n= o way >> to easily create your own with a generic name. >> >> >> >> @purplecabbage >> risingj.com >> >> On Tue, Feb 21, 2017 at 4:16 PM, Shazron Abdullah < >> notifications@github.com> wrote: >> >>> The src/platforms/platforms.js file touches almost all commands, >>> particularly the use of the getPlatformAPI call, so removing this i= s >>> tricky -- but at least there is only one API call to abstract away. >>> >>> =E2=80=94 >>> You are receiving this because you were mentioned. >>> Reply to this email directly, view it on GitHub >>> , >>> or mute the thread >>> >>> . >>> >> >> > > Remove known platforms check for Platform API > --------------------------------------------- > > Key: CB-11346 > URL: https://issues.apache.org/jira/browse/CB-11346 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaLib > Reporter: Shazron Abdullah > Labels: cordova-7.0.0 > > https://github.com/apache/cordova-lib/blob/61f584de5891c52431e40a2dd534ac= 24cc081fcb/cordova-lib/src/platforms/PlatformApiPoly.js#L58-L59 > So that users can install any "platform". -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org