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
idof the plugin - The
versionof the plugin - The
git_versionof the plugin
Example
DEFINE result STRING CALL ui.interface.frontcall( "cordova", "getPluginInfo", [], [result] ) DISPLAY util.JSON.format(result)