Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

iOS Request Guided Access fails

$
0
0

I have supervised iPads managed through an MDM. We have a custom entreprise App which request Guided Access (Single App Mode).

UIAccessibilityRequestGuidedAccessSession(true or false, ^(BOOL didSucceed) { ... });

It works when app opens up and locks in that app.

During some interactions with the app, the app will request to disable guided access to open up another app. That works as well.

When the other app re-open the first custom app, it requests single app mode once again but this one fails with the folowing error message:

App: (org.company.applicationName) asked to self-lock into gax. desired style: 2 effective style: 0 result: 0 error: 4 availability:Guided Access Ready

Has anyone encountered this ? What does that mean ?

(I would also mention that i only get that error in release and not debug)

Application is React-Native app...

Thank you!


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>