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!

Your app's extension (and OffScreen's extension) might simply be returning the wrong configuration due to a similar issue as this developer: https://developer.apple.com/forums/thread/716698?answerId=730969022#730969022

If that is not the case, please file a bug report with a sample Xcode project containing an app and shield extensions that replicate the issue using Feedback Assistant.

I can confirm the same behavior. Looks to be a bug in ShieldConfigurationDataSource / ManagedSettingsUI. I'll also submit in Feedback assistant.

Any update on this radar? @dev0618 did you ever get a response.

Same problem here, I’ve filed a feedback report as well (FB14237883), but have not heard anything back.

@Frameworks Engineer is there any workaround for this? It’s now been a known issue for 2 years so it should be plenty of time to find the issue, fix it, or at least provide a workaround.

Thanks a lot!

ShieldConfiguration not updating when app is open prior to the shield activating
 
 
Q