Hello, I am able to have users properly select apps that my app can limit and block, however I am having a lot of trouble figuring out how to restrict access for set periods of times. For example, I want the user to select the apps they wish to block, store them so they can be reused later and whenever they press a button restrict access for the next 30 minutes.
I understand this is doable if they are actively on the app, but I do not know how to automate the lifting of this restriction after the given period.
Moreover, what is the best way to persist the category and application tokens selected via the FamilyActivitySelector?