-
Notifications
You must be signed in to change notification settings - Fork 789
Closed
Labels
Description
On iOS, the restricted field is set when parental controls or organization security profiles disable camera usage. In these cases, users are actually unable to allow the camera permission. The status.restricted field is set to true to allow app developers to better tailor the experience to these users (by not trying to openSettings() and instead asking them to contact a company admin, for example).
Android documentation is currently silent on how to detect if a Device Management Policy has disabled use of the camera: https://support.google.com/edu/android/answer/3429624 (Device settings > Allow camera)