Weird that there doesn't seem to be a more intuitive technique for this, but here's how I achieved bypassing the shield via a button tap:
// Disable the shield (I'm not positive that this is the recommended way, but it works for me)
ManagedSettingsStore.shield.applications = nil
// Don't perform any additional action
completionHandler(.none)
AFAIK:
The .defer action reruns the extension that creates the shield's UI (ShieldConfigurationDataSource).
The .close action returns you to the home screen (closes shield and underlying app).
The .none action doesn't do anything, so use this for anything other than deferring or closing.
Why do they not have a .dismiss action? Idk... seems like an oversight. All the "Screen Time" API's seem half-baked and are truly awful to work with 🤷♂️.
Topic:
App & System Services
SubTopic:
General
Tags: