Hi,
We are doing deployment of the app using MDM in single app mode.
When the app is installed on an unrestricted iPad all the prompts do appear upon first opening, however they do not appear in Single App Mode deployments. Single App Mode is an inherent part of an Enterprise application deployment and is a vital tool in securing devices.
We are asking Location, Camera, Microphone and Speech Recognition permissions for the app. We are facing the issue only while deploying the app via MDM in Single App Mode. We are asking for four permissions from the user, but the user only sees one alert prompt on app launch asking for one of the four permissions. Triggering the alert prompt for each of the other three requires rebooting the device. We have to grant permission when we update the app next time via MDM as well.
We do not intend for the MDM to provide or manage the TCC permissions as that would be done by a user, though deploying via a MDM in Single App Mode seems to be interfering with the TCC process.
We tried to manually request for the camera authorisation using the below code:
This is requested after the user authorises location services usage which is the first requested authorisation and the popup for which appears normally.
Even after execution of the above code, we do not see the popup requesting authorisation for Camera usage on the screen and in the completion handler the status is always logged as Denied. This issue is faced only while deploying the app in Single App Mode via MDM and works as expected outside of it.
Since, rebooting thrice for every device enrolled would not be a feasible solution and Single App Mode is also essential, we wanted to know if this is a known issue and if a solution exists for the same.
Please let us know if any further information is required.
We are doing deployment of the app using MDM in single app mode.
When the app is installed on an unrestricted iPad all the prompts do appear upon first opening, however they do not appear in Single App Mode deployments. Single App Mode is an inherent part of an Enterprise application deployment and is a vital tool in securing devices.
We are asking Location, Camera, Microphone and Speech Recognition permissions for the app. We are facing the issue only while deploying the app via MDM in Single App Mode. We are asking for four permissions from the user, but the user only sees one alert prompt on app launch asking for one of the four permissions. Triggering the alert prompt for each of the other three requires rebooting the device. We have to grant permission when we update the app next time via MDM as well.
We do not intend for the MDM to provide or manage the TCC permissions as that would be done by a user, though deploying via a MDM in Single App Mode seems to be interfering with the TCC process.
We tried to manually request for the camera authorisation using the below code:
Code Block AVCaptureDevice.requestAccess(for: .video) { status in // Action Performed and Authorisation status logged }
This is requested after the user authorises location services usage which is the first requested authorisation and the popup for which appears normally.
Even after execution of the above code, we do not see the popup requesting authorisation for Camera usage on the screen and in the completion handler the status is always logged as Denied. This issue is faced only while deploying the app in Single App Mode via MDM and works as expected outside of it.
Since, rebooting thrice for every device enrolled would not be a feasible solution and Single App Mode is also essential, we wanted to know if this is a known issue and if a solution exists for the same.
Please let us know if any further information is required.