Post

Replies

Boosts

Views

Activity

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).
Topic: Privacy & Security SubTopic: General Tags:
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
Topic: Privacy & Security SubTopic: General Tags:
Dec ’23
Reply to Critical Bug in Screen Time Frameworks – User's Phone Rendered Unusable
Hello, We also got multiple reports of this issue from our users, and we found a workaround: Ask the user to reinstall the app, Grant screentime permissions Start shielding the apps that are stucked Stop shielding them It seems to allow the app to unblock from user devices. In our experience, this issue seems to be related to an issue we reported were the Screentime authorisation is hanging, and just accessing the authorisation center is blocking everything. Even the screentime section in settings is not accessible. Here the bug report : https://feedbackassistant.apple.com/feedback/11833456 opened about a year ago. We got some devices were this issue is present all the time, this issue seems to propagate through icloud, and also causing mal function in DeviceActivity extension based views. We are glad this got Apple attention because it seems to be major issue that make our users very mad. Regards
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to Xcode 15, how to uncheck "Connect via network" for physical device?
Would love a solution here as well ! I have to disconnect my iPhone from the wifi if I want to debug, because even if plugged, debugging seems to prioritize network over usb. It also seems to slow down all my network connections on my phone which is a bummer. I observed a clear regression from beta 8, it was way faster on the prior iOS 17 / Xcode 15 betas.
Sep ’23
Reply to Detecting Termination and Re-establishing Connection with DeviceActivityReport App Extension
Hey ! We encounter similar issues in the past, and didn't find any proper documented way to monitor the DeviceActivityReport extension state, or to prevent crashes from happening. You can provide a way for your user to reload the view himself in case of crash using regular SwiftUI methods. We've opened several radars, some of them more than a year ago, without any answer at the moment. I would suggest you to do the same, the more they are, the more likely they'll fix it ! Regards !
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to Family Controls crash when app launching
Hey ! Accessing AuthorizationCenter.shared is sometime hangging, blocking the thread on wish it was called. We've opened a bug report for this (FB11833456), and would be super nice if you could do the same, so this issue has more chance to be fixed ! The crash is not really a crash, since you do the call on the main thread at your app start, it's delaying your appLaunch. IOS has a mechanism called the Watchdog that kills app that take too long to launch, this is what's happening in your case.
Topic: App & System Services SubTopic: General Tags:
Aug ’23
Reply to DeviceActivityReport based views are blank on iOS 16 whith apps built with Xcode 15 beta
Here's Apple answer to the DTS, basically we don't care, manage the problem yourself : According to the latest update in Feedback ID #FB12416769, the reported problem will not be fixed in iOS 16. We recommend that your company takes whatever steps it can to have the remainder of the App user base update to iOS 17 or higher.
Replies
Boosts
Views
Activity
Apr ’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).
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
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
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Critical Bug in Screen Time Frameworks – User's Phone Rendered Unusable
Hello, We also got multiple reports of this issue from our users, and we found a workaround: Ask the user to reinstall the app, Grant screentime permissions Start shielding the apps that are stucked Stop shielding them It seems to allow the app to unblock from user devices. In our experience, this issue seems to be related to an issue we reported were the Screentime authorisation is hanging, and just accessing the authorisation center is blocking everything. Even the screentime section in settings is not accessible. Here the bug report : https://feedbackassistant.apple.com/feedback/11833456 opened about a year ago. We got some devices were this issue is present all the time, this issue seems to propagate through icloud, and also causing mal function in DeviceActivity extension based views. We are glad this got Apple attention because it seems to be major issue that make our users very mad. Regards
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Xcode 15, how to uncheck "Connect via network" for physical device?
Would love a solution here as well ! I have to disconnect my iPhone from the wifi if I want to debug, because even if plugged, debugging seems to prioritize network over usb. It also seems to slow down all my network connections on my phone which is a bummer. I observed a clear regression from beta 8, it was way faster on the prior iOS 17 / Xcode 15 betas.
Replies
Boosts
Views
Activity
Sep ’23
Reply to Detecting Termination and Re-establishing Connection with DeviceActivityReport App Extension
Hey ! We encounter similar issues in the past, and didn't find any proper documented way to monitor the DeviceActivityReport extension state, or to prevent crashes from happening. You can provide a way for your user to reload the view himself in case of crash using regular SwiftUI methods. We've opened several radars, some of them more than a year ago, without any answer at the moment. I would suggest you to do the same, the more they are, the more likely they'll fix it ! Regards !
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Family Controls crash when app launching
Hey ! Accessing AuthorizationCenter.shared is sometime hangging, blocking the thread on wish it was called. We've opened a bug report for this (FB11833456), and would be super nice if you could do the same, so this issue has more chance to be fixed ! The crash is not really a crash, since you do the call on the main thread at your app start, it's delaying your appLaunch. IOS has a mechanism called the Watchdog that kills app that take too long to launch, this is what's happening in your case.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23