Knox SDK ELM License activation getting failed
I want to convert my existing application to use the new samsung knox sdk (IDE- Android studio 3.0.1 & gradle-4.1).I have followed exact steps as you mentioned in your samsung knox sdk migration guide.
1. Added knoxsdk.jar & supportlib.jar as i want to run that application on a device that is running Knox v2.7 or earlier.
2. Also added these .jar files in build.gradle file in dependencies as follows:
To include supportlib.jar at run-time :-
To include knoxsdk.jar at compile-time:-
3.Replaced an old package name with its new one.
'android.app.enterprise.' replaced by 'com.samsung.android.knox
.I already have an ELM (Enterprise License Management) license key which i am using for activation of license .
Application runs successfully .After activating device admin i am getting ELM Activation page to activate that license
But when i confirm to activate that license that LicenseReceiver is not getting called .
i have registered this LicenseReceiver in Android Manifest as follows:
<action android:name="com.samsung.android.knox.intent.action.LICENSE_STATUS" />
I have tried all this in your sample application which you have provided on your portal.
1> Get started with the Knox SDK :-
I have added supportlib.jar for backward Compatibilty.
But getting same issue i am not able to Activate ELM license.
So Kindly help me to resolve this issue.