Contents

AuthorizationStatus.approvedWithDataAccess

The person, parent, or guardian approved the request for authorization with access to non-tokenized family activity data.

Declaration

case approvedWithDataAccess

Discussion

This status grants everything that AuthorizationStatus.approved allows, and additionally lets your app use FamilyActivityData to fetch the actual bundle identifiers of installed applications, domain names of visited websites, and display names of activity categories instead of the opaque, tokenized representations returned under AuthorizationStatus.approved. It also grants access to activityData(filteredBy:using:).

Only one app at a time can hold this authorization status on a given device. If a person grants data access to a different app, your app’s status reverts to .notDetermined.

You may develop and test an app that achieves this status on devices in all regions by using an Apple-provided provisioning profile. Customer installations of your app can only achieve this status on devices located in the EU that are signed in with an Apple Account with an EU country or region. On devices outside the EU, authorizationStatus never returns approvedWithDataAccess, and any attempt to access FamilyActivityDataproperties fails with FamilyControlsError.unavailable.

See Also

Determining the status