Post

Replies

Boosts

Views

Activity

Screentime API new issues on iOS 17.4.1 and 17.5.1
Hi, I have a released screentime app ScreenZen. The last few days I've seen a disturbing spike in bug reports coming from people with 17.4.1 and 17.5.1 phones with no update to the app itself. People reported they saw the issue immediately after updating their iOS version. Unfortunately it is not replicable on all phones with those versions, so we haven't been able to replicate it on our test phones. It appears the issue is the ApplicationToken passed into ShieldActionExtension and ShieldConfigurationExtension does not match any of the ApplicationTokens that the user selected to block through FamilyControls. (The selected ApplicationTokens are being loaded through a group UserDefaults and they are indeed being loaded in the ShieldActionExtension in the bug reports).This is preventing the app from loading the correct settings and handling the blocking accordingly. I am trying to isolate this better with a new release with better logging, but would appreciate any help on this issue.
2
5
1.3k
Jun ’24
ShieldConfiguration not updating when app is open prior to the shield activating
Hello! I believe there is a bug: ShieldConfigurationDataSource extension does not update when the app to be blocked is already open and the ManagedSettingsStore.shield.applications is set to the app that is already open. The shield comes up but has a stale ShieldConfiguration not reflecting the current state of the app is used. I've been able to replicate the issue in an independent app "OffScreen". If you start a blocking time range from 10:00-10:15, it will say "No Twitter until 10:15" and then open Twitter at 10:15. If there is another blocking time range from 10:16-10:31, the app will be open until 10:16 when the shield will reactivate and it will still say "No Twitter until 10:15" when is should say "No Twitter until 10:31". thanks!
4
0
1.6k
Oct ’22
ShieldConfigurationDataSource not refreshing when reactivated while shielded app is open
I'm working with ShieldConfigurationDataSource and customizing it based on variables I'm storing in a shared UserDefaults container group. It updates with fresh information when the shielded app is first launched and also when ".defer" is called in the ShieldActionDelegate. However, it does not update when the shielded app is already open and the ManagedSettingsStore.shield.applications is set to nil. I've tried doing this in a couple different ways including calling it when activated from the callbacks in DeviceActivityMonitorExtension. How can the Shield Configuration be refreshed when the app is shielded while currently open? thanks!
1
0
1.4k
Sep ’22