I am using a Honeywell CT60 with Android 11 with MobiControl 15.4.2.1020.
Supported APIs: RC Virtual Display, Work Managed Device, Advanced Android Plus 1.18, 1402
The latest version of Wavelink Velocity is installed, together with VelocityFileAssistant to have a workaround of the Android 11+ restriction to access /sdcard/Android/data/ folders.
This tool will copy files from the /sdcard/com.wavelink.velocity folder to the /sdcard/Android/data/com.wavelink.velocity/files folder.
Now, this tool requires external storage permissions which can succesfully set over ADB as follows:
adb shell appops set --uid com.wavelink.velocityfileassistant READ_EXTERNAL_STORAGE allow
adb shell appops set --uid com.wavelink.velocityfileassistant WRITE_EXTERNAL_STORAGE allow
adb shell appops set --uid com.wavelink.velocityfileassistant MANAGE_EXTERNAL_STORAGE allow
However, when using the following legacy script, the permissions are not as expected, and a user does still need to move a slider to grant permissions in the Velocity File Assistent when started for the first time.
afw_set_permission_grant_state com.wavelink.velocityfileassistant android.permission.READ_EXTERNAL_STORAGE allow
afw_set_permission_grant_state com.wavelink.velocityfileassistant android.permission.WRITE_EXTERNAL_STORAGE allow
afw_set_permission_grant_state com.wavelink.velocityfileassistant android.permission.MANAGE_EXTERNAL_STORAGE allow
What am I missing here?
Regards,
Henk