How to block/shield Safari?
If not possible what I can do instead?
It will be great to have smth like this:
store.shield.webDomains = .all
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi folks!
Please help me to clarify some things related to Screen Time API.
What the keys differences between individual and child authorization? With individual type of auth user can do sign-out from iCloud and delete the app. What else differentiate this type of users?
Can we use DeviceActivityEvent for remote control with individual auth?
Can the parental or guardian see/get the statistic of apps usage?
Is the individual auth available to all users or just those who are in the Apple's family?
I'll really appreciate any help and answer! Thank you in advance!
Topic:
App & System Services
SubTopic:
General
Tags:
Managed Settings
Family Controls
Device Activity
Screen Time
How to store at one time more than one app while selection from FamilyActivityPicker?
.familyActivityPicker(
isPresented: $isDiscouragedPresented,
selection: $model.selectionToDiscourage
)
The code above save only one token. If user select more than one app the FamilyActivitySelection.applicationTokens becomes empty [], but if select only one app, applicationTokens will contain one token from selected app.
Topic:
App & System Services
SubTopic:
General
Tags:
Managed Settings
Family Controls
Device Activity
Screen Time
How I can decode ApplicationToken which I receive from FamilyActivitySelection?
I've been expecting String type or ability to extract String from ApplicationToken.
My goal is switching between user's modes, where one device could be used for Parent and Child. For this case I'd like to keep ManagedSettingsStore() setups for each user.
Topic:
App & System Services
SubTopic:
General
Tags:
Managed Settings
Family Controls
Device Activity
Screen Time
The eventDidReachThreshold calls immediately not waiting for accumulated time.
Example of setting the event:
let events: [DeviceActivityEvent.Name: DeviceActivityEvent] = [
.monitorEducation: DeviceActivityEvent(
applications: educationalApps.applicationTokens,
threshold: DateComponents(minute: 15)
)
]
What could be wrong?
Hi all!
Is it possible to retrieve detailed data of applications from opaque token which we receive from FamilyActivityPicker?
If no, is it possible retrieve application info especially icon from applications that were selected in FamilyActivityPicker?
Thank you!
Topic:
App & System Services
SubTopic:
General
Tags:
Managed Settings
Family Controls
Device Activity
Screen Time
Hi there!
Please help me coupe with next issue...
The project was building and archived without any issue. When I added Family Control capability, I started receiving this issue:
I set up all certificates, created provisions. Tried to do it automatically through Xcode, did it manually, created .certSigningRequest, changed Xcode to 13 version (I'm using 14) - nothing helped me.
Please share your thoughts what can be wrong?
I'm not owner of Apple's dev account. I have Admin access rights.
Do I need something else?
Is Apple requires additional permissions or some requests to use Family Control capability?
Thank you in advance!
missing com.apple.developer.family-controls / Missing Family Controls from provisioning profile
I did a lot of researches, but cannot understand why methods inside DeviceActivityMonitor extension are not calling.
What I've seen related to this question and already checked:
Do you starting monitoring for schedules?
Yes, I do by calling center.startMonitoring() as it has been explained on WWDC2021-10123.
I was searching an issue while creating the extension. Walk through steps that are described here.
Everything looks good for me.
Did you add Family Control Capability to extension's target?
Yes, I did.
Is your device authorized with FamilyControls?
Yes. The only doubt I have here that I'm authorising FamilyControls for .individual . But as I've asked previously, it shouldn’t be a reason.
Task {
do {
guard #available(iOS 16.0, *) else {
// Fallback on earlier versions
return
}
try await AuthorizationCenter.shared.requestAuthorization(for: .individual)
switch AuthorizationCenter.shared.authorizationStatus {
case .notDetermined:
print("not determined")
case .denied:
print("denied")
case .approved:
print("approved")
@unknown default:
break
}
} catch {
print("Error for Family Controls: (error)", error.localizedDescription)
}
}
--
So, what could I have missed?
Also, should I see bundles of app and extension in Xcode -> Debug -> Attach to Process -> ... or I have to add them to see logs in Console app?