Post

Replies

Boosts

Views

Activity

FamilyActivitySelection | Screen Time API features iOS 16
How to store at one time more than one app while selection from FamilyActivityPicker? .familyActivityPicker( isPresented: $isDiscouragedPresented,     selection: $model.selectionToDiscourage ) The code above save only one token. If user select more than one app the FamilyActivitySelection.applicationTokens becomes empty [], but if select only one app, applicationTokens will contain one token from selected app.
4
0
1.7k
Feb ’23
Decode/Encode ApplicationToken | Screen Time API features iOS 16
How I can decode ApplicationToken which I receive from FamilyActivitySelection? I've been expecting String type or ability to extract String from ApplicationToken. My goal is switching between user's modes, where one device could be used for Parent and Child. For this case I'd like to keep ManagedSettingsStore() setups for each user.
4
1
1.8k
Jan ’23
ManagedSettingsStore is empty in DeviceActivityMonitor
I'm following the video with explanation of how to dealing with DeviceActivityMonitor extension. I'm facing the issue with empty ManagedSettingsStore when I'm trying to retrieve discouraged apps. The apps successfully where blocked on the selection step via .familyActivityPicker. The problem is that I can’t retrieve discouraged apps. I read that Model.shared won’t work in extension. To sync an app and extension we need to use AppGroups. Do we need to use AppGroups if we follow code like in the video?
3
1
986
Jan ’23
Device Activity Event | Screen Time API features iOS 16
Hi there! In my previous question I received the answer that we can use DeviceActivityEvent for remote control with .individual auth. Here I'd like to clarify: Is there any restrictions to use remote control for .individual if we compare it with .child? Is it possible to add/set/update restrictions remotely with DeviceActivityEvent API for .individual? Thank you!
1
0
1.3k
Oct ’22