Good morning,
We have to deploy a new application on some devices and we have a problem accepting permissions silently.
We are going to deploy the application using the policies/apps method because we have to configure some information (Device ID & connection code) it works fine, and the app connect to the Sophos console automatically and the device appears with the name of our soti console what was the goal. But the problem is that we have to grant some permissions manually before the process ends.
We are trying to grant these permissions remotely via scripts and we have tested these scripts with no result:
afw_set_permission_grant_state com.sophos.smsec android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS allow
afw_set_permission_grant_state com.sophos.smsec android.permission.PACKAGE_USAGE_STATS allow
We have tested this script too:
request_appops_permission android.permission.PACKAGE_USAGE_STATS
We are running Versión: 15.5.1.1010 of Soti Mobicontrol .
The device I am using to test is a Samsung SM-T510 with android 9 and agent version 15.2.0.1025.
Is it possible to silently deploy these permissions?
Is there any other test or way to silently grant these permissions on these devices?
Thank you for your help!