I am trying to replicate Screen Time functionality where I open a sheet (or the app) when a user presses a primary or secondary action.
However, I am confused on how to do that. What type of actions can I take from ShieldActionDelegate
? What is the recommended way to do this? openURL? Making network calls? Is there some other way to communicate with host app other than network calls?
I don't think I can use openURL
to open the host app? I tried making network calls, but Firebase keychain/appgroup sharing of login state seems to not work (could be my own bug).
See screenshot that hints that it should be possible to perform all sorts of actions: