Post not yet marked as solved
On authorized child app FamilyActivityPicker randomly stops displaying apps. All categories are visible but sometimes under categories showing no apps.
I have added a workaround to call FamilyAuthorization every time before calling FamilyActivityPicker this improves the issue a bit but still around 30% it stops listing apps.
Post not yet marked as solved
Hello!
Does anybody know the release date of "Family Control" capability for Distribution?
iOS 15 was released, but "Family Control" is still available only for Development Distribution:
We can't create a Distribution provision profile for testing via TestFlight right now.
is the API now available for app-store releases? and if not, are there any timelines when it will be available for market releases? Or Any possibility of getting it released with the upcoming iOS 16?
[*Reposting this question to know the latest updates]
Hi all,
I am facing a problem following the code in the "Meet the Screen Time API" video. I've tried scheduling the monitoring time from
00:00 to 25:59 or some other time but functions in DeviceActivityMonitor are never being called.
I tried to print log from those functions, nothing shown. Is there any settings I've missed? In addition, I already changed the NSExtensionPrincipalClass value to my class name.
Any help would be appreciated!
Post not yet marked as solved
When I am coding my app the first line of my code say that there is an error due to "expressions are not allowed at the top level" can somebody please help me.
Post not yet marked as solved
Hi,
Has anyone managed to store applications, categories or webDomains from FamilyActivitySelection into UserDefaults ?
Application or Category is not Codable. How do we encode this into JSON?
Thanks for your help
Post not yet marked as solved
Using shared authorization I am able to authorize the child's device and able to see all the installed apps on the child's mobile on the parent device. But when I am trying to call DeviceActivity nothing happens. This is how I am calling DeviceActivity
override func intervalDidStart(for activity: DeviceActivityName) {
super.intervalDidStart(for: activity)
}
override func intervalDidEnd(for activity: DeviceActivityName) {
super.intervalDidEnd(for: activity)
}
override func eventDidReachThreshold(_ event:DeviceActivityEvent.Name,activity:DeviceActivityName){
super.eventDidReachThreshold(event, activity: activity)
}
}
info.plist
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.deviceactivity.monitor-extension</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).DeviceActivityMonitorExtension</string>
</dict>
I wanted to create an app that based on some conditions would limit some apps usage via Screen Time. I know that with the Screen Time API it is possible to limit apps only if there is a guardian or a parent in the family, but I need to limit usage directly on the user device without a guardian or parent. Is there any way to do it?
Post not yet marked as solved
I'm try to physical device always getting error on Error for Family Controls: Error Domain=FamilyControls.FamilyControlsError Code=2 "(null)"
AuthorizationCenter.shared.requestAuthorization{result in
switch result {
case .success():
print("Allow to controle App ")
break
case .failure(let error):
print("Error for Family Controls: \(error)")
}
}
My question is - how can I authorize my parents using Family Control API in order to use for example Device Activity framework and Managed Settings framework?
Post not yet marked as solved
Can you please provide the link to the demo app shown in the video? This will help the dev community looking to build useful applications more than anything else.
Is there good documentation available on error handling for FamilyControls Error?
Can you bring up FamilyActivityPicker remotely from the parent device for a specific child's iPad or iPhone?
I can only bring up a family activity picker on a child's device which means that the child can change the selection at will?
Blocking games doesn't seem to work. "Among us" in online multiplayer mode can't be blocked.
Post not yet marked as solved
I'm try to physical device always getting error on
Error for Family Controls: Error Domain=FamilyControls.FamilyControlsError Code=2 "(null)"
AuthorizationCenter.shared.requestAuthorization { result in
switch result {
case .success():
break
case .failure(let error):
print("Error for Family Controls: (error)")
}
Post not yet marked as solved
Hello,
Thank you Chris & Nolan for the wonderful Screen Time API demo!
I would like to apply this new functionality to limit a child's communication with a specific contact selected by a parent during, "Homework" hours. I would like to configure the shield to ONLY restrict the chat log of the specified contact, not the entire Messages application.
At the end of "Homework" hours I would like the child to be able to view any missed messages or calls they received, while this contact was restricted.
It does not appear that a parent can specify communication limits within managed settings without using lockCellularPlan or shielding the entire app with the familyactivitypicker. Can we configure downtime restrictions using this API?
If you could point me to the correct part of the framework so I can further investigate how to implement this, that would be very helpful.
Thank you!
Post not yet marked as solved
I am creating a prototype with the new Screen Time API introduced by Apple. The issue I am facing is, Applications installed in child device is not showing in parent device with FamilyActivityPicker. It is showing in Child device and apps can be shielded from child's device. Can some one describe, how to list the apps in parent's device.
Both Device are running in iOS 15.3.
Both falls in same family group
Child is under 13 yrs old
Screen Time enabled in both device and parent device can see child in Screen Time.
Post not yet marked as solved
Does screen time api blocks an app if it is not available on the app store anymore but it is still installed on a child device?
Post not yet marked as solved
is blocking and shielding can be done when the case is 2 completely separate apps one for the parent and one for the child and not one app that have 2 types of users (parent and child)?
Post not yet marked as solved
The event threshold callbacks are inconsistent. We receive the callback 30mins to 1hour late after scheduling or it stops coming suddenly. Is there any limit how many callbacks will be coming per hour or day? Sometimes I don't get the callback at all. Sometimes it works properly for the whole day(Same code without any change).
Additional note: Sometimes I don't receive the schedule start call-back but the event threshold.
Post not yet marked as solved
I have created the app that uses Screen Time API (Device Activity, Managed Settings and Family Control). I have allowed on child device block and unblock apps that are selected in familyPicker, but I have to add ability to unblock these apps for some period of time. I have tried this:
do {
center.stopMonitoring()
try center.startMonitoring(.unblock, during: schedule, events: [.encouraged: DeviceActivityEvent(
applications: applications.applicationTokens,
threshold: DateComponents(second: 30)
)])
print("Unblock apps")
} catch {
print("Error")
}
Maybe I have to use another way to do it? but this doesn't work for me.
Post not yet marked as solved
There are 2 types of login in the application one for Parents and one for Children.
Once the parent has signed up and set his profile, then he will be able to add multiple students.
Students will be able to log in to the app using the QA code provided by the parent.
Once the students have logged in successfully, the Parent can set their restrictions that which applications to be restricted for use.
The parent can add scheduled prompts for specific students in terms of hourly, daily, weekly, and monthly.
Once the scheduled prompt arrives on the student’s device in terms of notification. The student's device-restricted apps will be locked for a specific amount of time.
The student is allowed to complete a subject questionnaire to unlock their device. For eg, there will be a list of 5 questions with multiple options to choose from. If the student gives a minimum of 4 right answers the student’s device will be unlocked or it will be locked for 5 minutes if the count of the correct answers is less than 4.
After the 5 minutes [Specific time - predefined] are complete, the student's device will be unlocked.
We also created Apple ID for parents and children from family sharing documentation for screen time API.
We also implemented authentication functionality with help of the family controls framework after approval we called FamilyActivityPicker as per provided document on family controls we got a view of all categories list but we were unable to see the application list on which depending on their category
How we lock all applications depending on he got remote notification in student device
Mac OS:- Bigsur (11.4)
System:- Mac mini(M1,2020)
Chip:- Apple M1
Memory:- 16GB
XCode:- 13
Post not yet marked as solved
I authorized the kid-side device, and the kid-side device can get the corresponding data and control through familyActivityPicker. However, the parent side cannot get the kid-side control data, even though we are already in the same family group
Post not yet marked as solved
i managed to shield app according to selection from the picker on the child app. i noticed that the threshold is for all the usage time of al the apps combined together. that means that if the threshold is 10 minutes and i used one of the selected apps 5 minutes and the other one for 5 minutes they both will be blocked.
what i'm trying to do is that if each an app reached the threshold only it will be shielded
anyone knows how to to this?
Post not yet marked as solved
is it possible to define only a child on a family in order to get authorization for the screen time api or a parent is mandatory?