0

Airwatch has the ability to send application configurations to app. How can I receive username (or any configuration) from Airwatch for Cordova application?

2 Answers2

0

AirWatch SDK doesn't support natively Cordova. To use AirWatch SDK features, you can use Cordova plugins like this one: airwatch-sdk-plugin.

For iOS and Android, which are supported by AirWatch SDK, the AirWatch developpers website recommands integrating the AirWatch SDK into your app and configure a SDK profile with Integrated Authentification. You have basic documentation here: developer.air-watch.com/single-sign-on/

Soma
  • 861
  • 2
  • 17
  • 32
  • I have installed airwatch plugin, but I dont want it to redirect to airwatch agent to authenticate. I just wanted to retrieve username from the enrolled device.. How do I stop this auto redirection and jus use username function to retrieve username? Any help is much appreciated. – nOOb iOS May 10 '18 at 14:52
0

You can use this plugin: https://github.com/audioeng/cordova-plugin-appconfig.

In your airwatch console, you need to add "EnrollmentUser" as the key and "{EnrollmentUser}" as the value.

Hope that help.

George Huang
  • 2,504
  • 5
  • 25
  • 47