24.10.0 • Published 2 months ago

airwatch-sdk-plugin v24.10.0

Weekly downloads
96
License
VMWare license
Repository
-
Last release
2 months ago

airwatch-sdk-plugin

Use this document to install the VMware Workspace One SDK Plugin for Apache Cordova. The plugin helps enterprise app developers add enterprise- grade security, conditional access, and compliance capabilities to mobile applications.

Supported Components

This plugin works with the listed component versions.

  • Workspace ONE UEM Console 2322+ (may need to be higher depending on specific features)
  • Android 7.0+ (for Android SDK component) / API level 24 OR above / Android Studio with the Gradle Android Build System (Gradle) 7.4+ or later / Workspace ONE Intelligent Hub for Android version 24.07 or later
  • iOS and iPadOS 15+ or later (for iOS SDK component) / Xcode 15.0+ or later

Initial Setup

Please find the Prerequisites for using the Workspace One SDK Plugin for Apache Cordova.

Installation

To install the plugin, type cordova plugin add airwatch-sdk-plugin at the command line. This should be added before any other plugin is added to the app. Note: The download from NPM, usually takes 2-3 minutes on average, over high speed internet connection.

Additional Setup

iOS

Add following code in AppDelegate

-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
  //Add following code for posting Notification for URL
  NSNotification *info = [[NSNotification alloc]initWithName:@"UIApplicationOpenURLOptionsSourceApplicationKey" object:url userInfo:options];
  [[NSNotificationCenter defaultCenter] postNotification:info];
  
  return YES;
}

Initialization

The plugin auto-starts on both Android and iOS devices and it automatically starts the Workspace One SDK. After startup, the functions are available in the window.plugins.airwatch object. No other initialization is required to use the documented functions.

To receive events from the SDK, an event listener must be initialized. See "Events" below.

Initialization of the SDK adds the listed features to your application, depending on the configurations set in the SDK profile in the Workspace One UEM Console.

  • Application level passcode
  • Application level tunneling of network traffic
  • Integrated authentication / single sign on
  • Data loss prevention
    • Disable Screenshot (Android only)
    • Restrict open-in for documents, web links, and email to approved applications only Restrict copy/paste (SDK provides flag value)
    • Restrict access to app when device is offline
  • Branding of VMware AirWatch splash screens when SDK application is launched on device

Feature Implementation

Please follow document at implementation.

Quick Example

On deviceready, please set the SDK event listener: window.plugins.airwatch.setSDKEventListener(sdkEventCallback) . The sdkEventCallback is a function that takes two arguments: 1. A string that holds the name of the event fired. 2. An object that contains the additional info on the event function sdkEventCallback(event, info).

function sdkEventCallback(event, info)
{
    /* Check (event === "initSuccess") before using sdk functionalities */
}

Release Notes

  • Latest versions of Workspace ONE SDKs (24.7.0 for iOS and 24.06 for Android).

Workspace One SDK Documentation

For further details about the Workspace One SDK, navigate to Workspace-ONE-SDK and select the required platform, SDK version and Workspace ONE UEM console version.

License

VMWare License

Open Source Link

Open Source

Questions and Feedback

For any questions/feedback or to report an issue, please reach out to VMware support teams

24.10.0

2 months ago

24.10.0-beta.1

2 months ago

24.9.0

3 months ago

24.2.0

10 months ago

23.7.1

1 year ago

23.7.0

1 year ago

23.10.0

1 year ago

23.10.1

1 year ago

23.5.0

2 years ago

23.2.0

2 years ago

22.12.0

2 years ago

22.3.0

3 years ago

22.8.0

2 years ago

22.5.0

3 years ago

22.1.0

3 years ago

2.7.0

3 years ago

2.6.0

3 years ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

6 years ago

1.3.3-beta.1

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.0.8-beta.0

6 years ago

1.2.1-beta.2

6 years ago

1.2.1-beta.1

7 years ago

1.2.1-beta.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.5.0

8 years ago