Integrating Airwatch ADK

Integrating Airwatch ADK

  

Hi,

I have a requirement to install the Airwatch ADK to Outsystems.

After following the steps here, the iOS app generates successfully. 

However, when generating the android version, it throws the error 

"Error: Error installing Cordova plugin: com.airwatch.awsdkplugin." in the mobile logs

There is no other error message in the general logs etc. 

To see if its an issue with the plugin, I created using an empty cordova project, added the plugin and built the android build. It built successfully.  

Has anyone came across this before?

Its seems like the following set of codes in plugin.xml is giving issues. Would anyone be able to know what is not supported?


<config-file target="res/xml/config.xml" parent="/*">
                <feature name="AirwatchSDK">
                    <param name="android-package" value="com.airwatch.cordova.sdkplugin.AirwatchSDKPlugin"/>
                    <param name="onload" value="true"/>
                </feature>
        </config-file>

        <edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
                <application android:name="com.airwatch.cordova.sdkplugin.AWCordovaApplication"/>
        </edit-config>

        <edit-config file="AndroidManifest.xml" target="/manifest/application/activity" mode="merge">
                <activity android:name="com.airwatch.gateway.ui.GatewaySplashActivity"/>
        </edit-config>

        <config-file target="AndroidManifest.xml" parent="/*">
            <uses-permission android:name="android.permission.WAKE_LOCK"/>
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
            <uses-permission android:name="com.airwatch.email.permission.ACCESS_PROVIDER"/>
            <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
            <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
        </config-file>

        <config-file target="AndroidManifest.xml" parent="application">
            <activity android:name="com.airwatch.cordova.sdkplugin.AWCordovaActivity"
                      android:theme="@style/Theme.AppCompat">
            </activity>
        </config-file>

Hi Stephen,

I was wondering if you were able to make this work. We have a requirement to integrate OutSystems with Airwatch. Hope you can help us with this.

Regards

Rom

Hi guys,

I'm working on integrating AirWatch with OutSystems, I currently have an early version of the plugin for iOS platform, Stephen as I see is working with Android platform, and about you Romuel?

Cheers,
Miguel

Hey guys

there's already available the AirWatch SDK plugin in the forge, at this moment it only supports iOS platform. We're already working on having it ready for Android, but with no ETA for now.

Cheers,
Miguel 

This is great news Miguel! Thanks for this info.


Regards

Romuel