cordova.getPluginInfo
Returns details about a specific Cordova plugin.
Syntax
ui.Interface.frontCall("cordova", "getPluginInfo",
[plugin-name], [result] )
- plugin-name - This is the name of the Cordova plugin.
- result - Holds details about the Cordova plugin, in JSON format.
Usage
The getPluginInfo
front call returns details about the Cordova plugin passed as
parameter.
The result variable is of type
STRING
filled with a JSON
string containing the details about the plugin such as:- The
id
of the plugin - The
version
of the plugin - The
git_version
of the plugin
Example
DEFINE result STRING
CALL ui.interface.frontcall( "cordova", "getPluginInfo", [], [result] )
DISPLAY util.JSON.format(result)