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 49738200C31 for ; Wed, 22 Feb 2017 01:20:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 480DA160B74; Wed, 22 Feb 2017 00:20:41 +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 91297160B68 for ; Wed, 22 Feb 2017 01:20:40 +0100 (CET) Received: (qmail 20261 invoked by uid 500); 22 Feb 2017 00:20:39 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 20250 invoked by uid 99); 22 Feb 2017 00:20:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2017 00:20:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5AE0DDFE1E; Wed, 22 Feb 2017 00:20:39 +0000 (UTC) From: purplecabbage To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-lib issue #519: CB-11346 - Remove known platforms check for Platform... Content-Type: text/plain Message-Id: <20170222002039.5AE0DDFE1E@git1-us-west.apache.org> Date: Wed, 22 Feb 2017 00:20:39 +0000 (UTC) archived-at: Wed, 22 Feb 2017 00:20:41 -0000 Github user purplecabbage commented on the issue: https://github.com/apache/cordova-lib/pull/519 We should ultimately just be checking that there is a valid platformAPI, and if so, use it, otherwise fail. ( super simplification ) @purplecabbage risingj.com On Tue, Feb 21, 2017 at 4:19 PM, Jesse wrote: > Yeah, it's deep. If a platform does not have a known name, there will be > issues currently. > The only way right now is to fork a blessed platform, but there is no 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 is >> tricky -- but at least there is only one API call to abstract away. >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> , >> or mute the thread >> >> . >> > > --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org