Post

Replies

Boosts

Views

Activity

Reply to Application Tokens from Bundle Identifier
Hey, To my knowledge, you cannot create Tokens from bundle ID, only get them from the FamilyActivitiyPicker. I can also confirm that tokens are not portable across devices, an Instagram token on device A is not the same as on device B, using it to block apps will just do nothing on device B. I'm almost certain you cannot achieve what you are trying to do with the current set of APIs provided by Apple. I believe this is behaving as designed by apple for privacy reasons. Good luck !
Aug ’24
Reply to eventDidReachThreshold is working as expected only when the app is in debug mode
Why not just move your logic that apply shielding into the monitor extension ? I believe the darwin notification is working only when the app is running, and the monitor extension will not wakeup your app if it's not running. In debug mode, application stay in the running state much longer, but not in release mode, app are suspended as soon as a user background them (if not playing audio or using gps).
Mar ’24
Reply to Device Activity Report View Size and Background
Hey ! This is due to the fact that those views are rendered of process, you need to assign a fixed size to your view, and cannot assign a background color. We opened a bug report for those exact things a while ago but didn't get any answers (FB10819848 (DeviceActivityReportScene doesn't behave like a regular SwiftUI view in an undocumented way), opened 06/22/22) I invite you to open a bug report as well ! Regards
Dec ’23