autonomousSingleAppModePermittedAppIDs Key in Restrictions payload - iOS 7 MDM

让人想犯罪 __ 提交于 2019-12-21 20:45:27

问题


I have recently started working with Apple Configurator to use features meant for Supervised devices.

In the Restrictions payload there's a key called autonomousSingleAppModePermittedAppIDs with the description below

Optional. Supervised only. If present, allows apps identified by the bundle IDs listed in the array to autonomously enter Single App Mode.
Availability: Available only in iOS 7.0 and later.

I tried sending this key in the restrictions payload with a couple of app identifiers, but could not find any change in the behaviour of the OS. The Guided Access allowed all apps to enter into the SingleApp mode.

What I understand (and expect) from this is we can allow a list of apps to enter Guided Access (Single App) mode and no other app except the allowed ones will be visible on the device. Can you help me understand the things I'm missing or misunderstanding.


回答1:


I believe the idea of this key that application itself can request a guided mode (vs guided mode triggered by a user or AppLock profile).

I believe application should use following API to request a guided mode:

void UIAccessibilityRequestGuidedAccessSession(BOOL enable, void(^completionHandler)(BOOL didSucceed));

In the case, if it's not on this list, this request will be rejected.

P.S. A device needs to be supervised.




回答2:


Apple Configurator doesn't have the settings to manage "autonomousSingleAppModePermittedAppIDs"

Instead I decided to manually edit a profile and include the appropriate XML with the above key (referenced from here).

Upon trying to install the modified profile, Configurator explicitly says "The profile must be installed by a Mobile Device Management server."

The profile will install fine if this key/value pair is removed.

It looks like you MUST use an MDM to install a profile for use with Autonomous Single App Mode.




回答3:


I was not able to find autonomousSingleAppModePermittedAppIDs in Apple Configurator. Looks like need to buy Apple Profile Manager (OS X Server in the App Store) for this which costs about $20.



来源:https://stackoverflow.com/questions/20263805/autonomoussingleappmodepermittedappids-key-in-restrictions-payload-ios-7-mdm

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!