Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
We want Cordova apps to be able to query what plugins (and versions) are installed at runtime.
Plugman is now injecting a tag of the kind:
<plugins> <plugin id="org.apache.cordova.file" version="0.2.5" /> <plugin id="org.apache.cordova.file-transfer" version="0.3.4" /> </plugins>
into the platform's config.xml. Each platform should be parsing this and exposing it to native plugins (PluginManager.getPluginList(), or something like that) and exposing it to Javascript via the following exec call:
cordova.exec('CordovaPlugins', 'getPluginList', [], ...);
The format of the exec call's response is a JS object whose keys are plugin IDs and whose values are their versions.
Attachments
1.
|
Runtime plugin discovery on Android | Closed | Braden Shepherdson | |
2.
|
Runtime plugin discovery on iOS | Closed | Braden Shepherdson | |
3.
|
Runtime plugin discovery on BB10 | Closed | Unassigned | |
4.
|
Runtime plugin discovery on WP7 | Closed | Jesse MacFadyen | |
5.
|
Runtime plugin discovery on WP8 | Closed | Jesse MacFadyen | |
6.
|
Runtime plugin discovery on Firefox | Closed | Unassigned | |
7.
|
Runtime plugin discovery on Windows8 | Closed | Jesse MacFadyen |