Getting the AppConnect library version

The AppConnect Cordova JavaScript interface provides a method that returns the version of the AppConnect library.

AppConnectCordova.version ()

This method returns a string value. The value reflects the version of the AppConnect library that the AppConnect Cordova Plugin is using.

A best practice is to report the AppConnect library version number on your app’s About page. This information is useful to support organizations if a device user has any issues with the app.

For example, use the following statement to get the AppConnect library version:

var AppConnectVersion = AppConnectCordova.version();