Post

Replies

Boosts

Views

Activity

Reply to AuthorizationCenter requestAuthorization returns error 5
@kgaidis Please find the error code mapping below, enum FamilyControlsError : LocalizedError {   case restricted   case unavailable   case invalidAccountType   case invalidArgument   case authorizationConflict   case authorizationCanceled   case networkError   @available(iOS 16.0, *)   case authenticationMethodUnavailable } For your case error is like "The parent or guardian canceled a request for authorization." Do one thing, remove the app and try install it again. Do you able to see the alert dialogue asking for authentication?
Jul ’22
Reply to Family Controls application-identifier Entitlement error while blocking an application
Hi, Any update on the above issue? I am also trying to block application in the same way but I am getting different error, Attempts remaining: 1 Failed to fetch effective value for com.apple.ManagedSettings.effective-media-settings.changed: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction." UserInfo={NSDebugDescription=The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.}``` could you please guide me if I'm missing something?
Sep ’21
Reply to Not getting call back to DeviceActivityMonitor extension
Hi, One of my friend suggested to debug extension process and check console which helped. I received the call back to the code and while observing console logs expected events fired for start and end. But I am not sure why print statement doesn't print any from extension principal class file. Console logs under the process 'DeviceActivityMonitorExtension' below, Interval started for daily Interval ended for daily Hope this will help.
Sep ’21
Reply to Is the Screen Time API completely broken in the betas?
Hi, I too faced the problem, one of my friend suggested to debug extension process and check console which helped. I received the call back to the code and while observing console logs expected events fired for start and end. Raised this thread too - https://developer.apple.com/forums/thread/689460 Console logs under the process 'DeviceActivityMonitorExtension' below, Interval started for daily Interval ended for daily Hope this will help.
Sep ’21