Questions on the ScreenTime API

I am currently trying to build a prototype parental control app using the ScreenTime API.

I was just wondering if I needed to create a separate parent and child app?

thanks, Quinten

Answered by Frameworks Engineer in 679306022

A separate app is not necessary to use the ScreenTime API: What's important is that the child device is authorized in FamilyControls for your app. This is necessary to enable the use of the DeviceActivity and ManagedSettings frameworks on the device.

As for as I understood from the video, you won't need separate APIs. You use the same one on both devices but I might be wrong.

Accepted Answer

A separate app is not necessary to use the ScreenTime API: What's important is that the child device is authorized in FamilyControls for your app. This is necessary to enable the use of the DeviceActivity and ManagedSettings frameworks on the device.

Questions on the ScreenTime API
 
 
Q