Yannick Bonneau
Nov 29, 2018
12:35 pm

ProKiosk Error permission

Hi,

I try to test ProKiosk, but not working:

I use then sample provide on web site and my licence KPE Developement : KLM06-CN.....

Activate Admin : success
Activate License : success
Enter ProKios Mode : Error  -> crash on :  int result = proKioskManager.setProKioskState(true, defaultPassCode); // Enable ProKiosk Mode and get the result code*/
I catch this error :
java.lang.SecurityException: Admin  does not have com.samsung.android.knox.permission.KNOX_CUSTOM_SEALEDMODE OR com.sec.enterprise.knox.permission.CUSTOM_SEALEDMODE

My Device : SM-T580 - Android 8.1.0 - Version Knox 3.2

 

Can you help me?

Yannick

Similar topics

No similar topics found.
Jenna S.Samsung SEAP Moderator
Nov 29, 2018
6:18 pm

Hello Yannick,

Do you have the following line listed in your manifest file?

<uses-permission android:name="com.samsung.android.knox.permission.KNOX_CUSTOM_SEALEDMODE"/>

If not, be sure to add it.

Best regards,

Jenna

Yannick Bonneau
Nov 30, 2018
12:30 pm

Hi Jenna,

I already added this permission in the manifest.
why does not it work?

Best regards,

Yannick

 

Jenna S.Samsung SEAP Moderator
Dec 01, 2018
1:11 am

Hi Yannick,

Could you please take a dumpState of the device and send it to jennatest862@gmail.com. Please include the whole API flow in the dumpstate, including license activation.

Best regards,

Jenna

Yannick Bonneau
Dec 06, 2018
10:06 am

Hi Jena,

My licence KPE Development has expire, I generate new and it works now..

 

Best regards,

Yannick