cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <>
Subject [jira] [Resolved] (CB-9596) PlatformApi master issue
Date Thu, 25 May 2017 21:03:04 GMT


Jesse MacFadyen resolved CB-9596.
    Resolution: Fixed

> PlatformApi master issue
> ------------------------
>                 Key: CB-9596
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-common, cordova-lib, cordova-plugman
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>              Labels: PlatformApi, cordova-lib
> This is the master issue for PlatformApi related work.
> The description is copied from
> This proposal describes a high-level classes which describe Cordova project and Cordova
platform as a strictly typed APIs:
> * ProjectApi - a high-level abstraction on top of cordova project, exposes project's
properties and methods for project management.
> * PlatformApi class - further development of PlatformProject (see #4) - abstraction for
single particular platform.
> To make the transition to new API smoother, the cordova-lib needs to be updated to expose
the same class, which will work as a polyfill in case if platform doesn't provides its own
> There also a potential problem of code duplication, since the PlatformApi needs for several
classes, which currently being stored and exposed by cordova-lib: ConfigParser, PluginInfo,
etc. The one of solutions of this problem - is to factor out the common classes and routines
to shared module (proposed name - cordova-common), which then will be released separately.
This approach is discussed in cordova-lib/#235

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message