cordova-plugin-ws1intelligence
v1.0.0
Published
Workspace ONE Intelligence Cordova Plugin for iOS and Android.
Downloads
5
Maintainers
Readme
cordova-plugin-ws1intelligence
This plugin enables access to Workspace ONE Intelligence SDK features for Cordova applications for iOS and Android.
License
By integrating or downloading the software development kit (SDK) you accept the VMware License
Installation
In your application directory, simply type cordova-plugin-ws1intelligence
at the command line to install the plugin.
Initialization
The Workspace ONE Intelligence Cordova plugin must be initialized by the host application prior to use. To do so, you must call an initialization function with your valid iOS and Android app ID.
WS1Intelligence.init({ 'iosAppID' : 'YOUR_IOS_APP_ID_HERE', 'androidAppID' : 'YOUR_ANDROID_APP_ID_HERE'});
This initialization call can be made in the onDeviceReady function.
You should see subsequent messages in your application logs that confirms successful initialization.
Support
- iOS 12.0+ / Xcode 12.2
- Android API 16 and above
Functions
The Workspace ONE Intelligence Cordova Plugin exposes the native interface of both the Android and iOS SDKs to Cordova applications through a wrapper interface.
Functions available for Android and iOS
Logging Levels
- WS1IntelligenceLoggingLevelSilent
- WS1IntelligenceLoggingLevelError
- WS1IntelligenceLoggingLevelWarning
- WS1IntelligenceLoggingLevelInfo
- WS1IntelligenceLoggingLevelDebug
- WS1IntelligenceLoggingLevelVerbose