Silent Installation of APK on Android Device

Dear  Team,

i am having around 170 android devices that are enrolled in soti. i want to install apk onto all device without taking remote of each device and giving permission to allow access to app. 

looking for silent installation at backend without user intervention. 

want to know is there any script for same.

3 years ago
Android Scripting
ANSWERS
MB

Hi Mahendra,

you can upload the APK into MobiContorl directly and install it with a Profile on the selected Devices.

Depends on the  OS Version & MobiControl Version what are you using.

DM
Daniel Maniera
3 years ago

Hi,

unfortunately it's not possible to set permissions to third party applications thru MobiControl.

Had the same problem a while ago.

MB

Hi Daniel,

did you mean under Android 11?

MD
Matt Dermody Diamond Contributor
3 years ago

It is possible to do this depending on the given permission. What permission are you referring to?

RC
Raymond Chan Diamond Contributor
3 years ago

Soti has released AE device agent supporting the "afw_set_permission_grant_state" script command to manage  some apps permissions for 2 years.  Scripts using this command can be added to the post-script section of any .pcg package to automate the whole app installation and permission granting processes. 

Unfortunately, the command works for only some cases, and the mileage seem to vary with device firmware and agent versions, and also with the type of permissions to be managed. The AE platform  has been evolving quite rapidly these two years, especially for device running/transitioning between the Android 11/12 firmware versions milestone.   I believe it will take some more time for Google standard API's and MDM software to evolve and get stable before such script can reliably be used to manage app permission.  

G
GKMOD@SOTI
3 years ago

Hello Mahendra,

Please let me know, did the issue fixed or still hasn't fixed yet?