Could track mdm ios/android device/user profiles restrictions?

99 Views Asked by At

I have a mobile app in ios and android platforms. Our some customers are distributing it in mdm(many even use airwatch). Airwatch has some restriction payloads like: "Allow use of camera", "Allow screen capture", "Allow Biometric ID modification" etc.(these are ios/android device/user profiles restrictions) I want to take action in my mobile apps according to these payloads. For example there is an upload option with camera. I want to that if "Allow use of camera" is set as false, I want to not showing camera option.

Could track these payloads form ios and android apps? If yes, how to make it?

Thanks in advance.

1

There are 1 best solutions below

1
David C Adams On

Take a look at android.content.RestrictionsManager. getApplicationRestrictions() will return a Bundle of restrictions.

RestrictionsManager