Skip to content
Browse files
doc(README): update device.cordova info (#156)
  • Loading branch information
erisu committed Apr 1, 2022
1 parent 1e582ab commit 45a131697033bd8dafa8e39c20076f4fc78e3040
Showing 1 changed file with 11 additions and 1 deletion.
@@ -52,7 +52,17 @@ function onDeviceReady() {

## device.cordova

Get the version of Cordova running on the device.
Returns the Cordova platform's version that is bundled in the application.

The version information comes from the `cordova.js` file.

This property does not display other installed platforms' version information. Only the respective running platform's version is displayed.


If Cordova Android 10.1.1 is installed on the Cordova project, the `cordova.js` file, in the Android application, will contain `10.1.1`.

The `device.cordova` property will display `10.1.1`.

### Supported Platforms

0 comments on commit 45a1316

Please sign in to comment.