We want to include Screen Time API access codes in not only main app (container app) but also app extension such like Location Push Service Extension or Widget Extension. On app extension side, are there any restrictions to create and use objects of below classes in either cases , main app is running or not running ?
- ManagedSettingsStore
- DeviceActivitySchedule
- DeviceActivityCenter
and also, do they do the same thing that works on the main app side like below ?
- shield application
- create a device activity schedule
- startMonitoring