Grand Permission to Third Party App

Solved
S
SteeveP
Sogesma/Logesma

Hello everyone, here with a subjet that i just saw only few topic about here.

We use a internal dev. app in our company , but this one need few permission to work correctly and return some state

I did try to use the following Script but seems with no success , maybe typo...maybe something else...

anyone to help?

Devices are Memor 10

We run on Mobicontrol 15.3.1.1151

Agent are up to date on devices

Agent Version
15.1.5.1049
afw_set_permission_grant_state com.trafic.nosmprod android.permission.READ_PHONE_STATE allow
afw_set_permission_grant_state com.trafic.nosmprod android.permission.READ_PRIVILEGED_PHONE_STATE allow
afw_set_permission_grant_state com.trafic.nosmprod android.permission.ACCESS_WIFI_STATE allow
afw_set_permission_grant_state com.trafic.nosmprod android.permission.ACCESS_COARSE_LOCATION allow
afw_set_permission_grant_state com.trafic.nosmprod android.permission.ACCES_FINE_LOCATION allow
afw_set_permission_grant_state com.trafic.nosmprod android.permission.ACCESS_NETWORK_STATE allow
3 years ago
SOTI MobiControl
ANSWERS
MD
Matt Dermody Diamond Contributor
3 years ago

It looks like you're on the right track assuming that com.trafic.nosmprod is the bundle ID of the application. 

Are the devices fully managed under DO? Are they listed under Work Managed?

S
SteeveP
3 years ago

Hi Matt,

Thanks for your answer.

Devices were correctly managed.

Seems i've found the problem after few call to our dev.

They forgot to put those access in the app manifest...

Basically seems that MC automatically grant it the authorisation it ask now.

Solution