Hello Community,
We currently have a third party apps installed, which is enabled as "device admin app".
In the SOTI JS documentation, there is an explanation and simple example script to deactive this admin app.
https://www.soti.net/mc/help/javascriptapi/en/mobicontrol.app.html#.deactivateAdmin
mobicontrol.app.deactivateAdmin('com.example');
Unfortunately, I get an error "Custom log (AdminDeactivationError: App deactivation not supported. (UserScript#1))"
Device: Datalogic Memor20 on Android 9
Agent Version: 2025.1.2.1214
MobiControl Version: 2024.1.1.1058
Do you guys have any clue why this script is not working? Do I need to upgrade to a later version of Android to get it work?
Many Thanks, Raphael.