Post

Replies

Boosts

Views

Activity

Comment on Shielding .all(except: ) unexpected behavior
@Quappi Here are the steps you should consider: 1: Fetch all active schedules with this Documentation 2: Find the schedule that causes this issue 3: Track down how it's created (intentional or not) + fix 4: Additionally: You can see the default ShieldConfiguration in your provided screenshot. Is that the usual case or do you provide a custom one? If so, there may also be an issue regarding your ShieldConfiguration
Sep ’24
Comment on App Shielding unexpectedly active outside of schedule
Hey thanks for your answer. I already included overriding intervalDidEnd, but decided not to mention it in the code snippet to keep it shorter. Here is my intervalDidEnd, do you have any further suggestions? It's still not working: ´´´swift override func intervalDidEnd(for activity: DeviceActivityName) { super.intervalDidEnd(for: activity) logger.log("INTERVAL ENDED") store.clearAllSettings() store.shield.applications = nil } ´´´
May ’24
Comment on missing com.apple.developer.family-controls / Missing Family Controls from provisioning profile
Update: Yes, I needed the permissions for all of my app target. After receiving them, the error went away and it took 4 days to get the permissions. I didn't receive an email but as said before, you need to look under Signing & Capabilities for the certificate. If you still get an error, even though the certificate is available, you need to activate it under you certificates in the developer account.
Mar ’24
Comment on Adding intent to the AppIntentsExtension
@vipulgupta012 Unfortunately not, I only could fix this issue by removing the AppIntentExtension itself and just use the structs in the normal App Target. So the easy solution for you would be First: Remove the TWAppIntentExtension and associated files except TWTAppIntent Second: Add TWTAppIntent to the main app target. That solved the issue for me. This also removes the need to have an extra extension for the AppIntent, which I think is quite neet as well.
Feb ’24
Comment on How to check app's Screen Time access?
@JosephCa Yes, disabling the permissions from Settings and restarting the app updates the UI to show that the user doesn't have screentime permissions anymore. When not restarting the app, the UI isn't immediately updated. But if you're using a button, which shows an alert if the user doesn't have access according to ‘AuthorizationCenter.shared.authorizationStatus != .approved‘ and otherwise would do some action, it would show the alert.
Feb ’24