What's new in Screen Time API

RSS for tag

Discuss the WWDC22 Session What's new in Screen Time API

Posts under wwdc2022-110336 tag

84 Posts

Post

Replies

Boosts

Views

Activity

DeviceActivityReportExtension error
I've created a new project to see how "DeviceActivityReportExtension" works. After creating the app, added the extension and also added "FamilyControl" capability. In the main, I've added only the report view using SwiftUI, but it does not work. This is the error I get: 2023-04-27 18:21:55.980280-0700 TestScreenTime[38540:24995233] [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-04-27 18:21:55.980313-0700 TestScreenTime[38540:24995233] [default] Attempt to map database failed: permission was denied. This attempt will not be retried. 2023-04-27 18:21:55.980337-0700 TestScreenTime[38540:24995233] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-04-27 18:21:56.029480-0700 TestScreenTime[38540:24995233] [default] Remote viewcontroller request failed: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 38542 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service with pid 38542 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.} The deployment target is set to 16.0, and Xcode version is 14.3 (14E222b).
2
0
1.4k
Apr ’23
Critical bugs (and regressions) remaining after release
Hello! I've filed bugs/radar/feedback that are reproducible, with Xcode project attached, and videos. However, they haven't gotten attention (even across iOS releases). Maybe they aren't seen, so I'll try to more actively advertise them here. Recent regression starting iOS 16.1 where FamilyActivityPicker will sometimes fail to properly expand and show all applications (makes it difficult for users to select applications or know what is going on): FB11737092 Outstanding bug that likely has been there since the start of Screen Time API being released to .individual. DeviceActivityReport has some odd "concurrency" issues where it shows data for the wrong reports. If one debugs DeviceActivityReportExtension with 2+ scenes, each scene can receive data from an unrelated scene. The debugger shows multiple calls to func makeConfiguration(representing data: DeviceActivityResults<DeviceActivityData> across many threads when you'd think only one call would be necessary. If one uses only a SINGLE scene, these issues do not occur. FB11725142 Thank you for the great API and I'm excited to keep developing with it :) I also know of other bugs that I can reproduce, so if there's interest in working more closely to polishing up all the bugs, I'm always happy to work with the Apple engineers!
3
3
1.6k
Apr ’23
set ShieldConfigurationDataSource for webDomains
There are two ways to initialize a WebDomain when adding it to a ManagedSettingStore to be shielded. The first is by providing the relevant URL. The second is by providing a token representing a WebDomain that the user picked from the FamilyActivityPicker When using the second way, I'm able to configure the appropriate shield with aShieldConfigurationDelegate and control its behavior with a ShieldActionDelegate When using the first way, I am not. The shield is rendered, but I have no control over its appearance or behavior. My ShieldConfigurationDelegate and ShieldActionDelegate classes are not being hit. How can I set the ShieldConfigurationDataSource of WebDomains constructed via explicit URL?
3
0
1.6k
Apr ’23
How manage child iOS devices with 2022 new ScreenTime API functions?
Hi! We are developing a multi-platform 'parental control' app. Its more a 'monitoring app' than a 'restrictions app' cause we just wanna show parents their child device usage based on some settings parent choose (Android and iOS). We have it developed on Android (child monitor and parent control) and now we wanna try iOS Screen Time API, so i have a few questions: Is it possible to see child iPhone usage on parent Android device (because some parents could not have an iPhone...)? If not, is it possible to see it on a web interface (some dashboard...)? Maybe its just available for iOS devices on family center so child and parent must have iOS devices? Other question is: It's needed to develop on iOS a child 'monitor' app? I think it is, cause i saw videos, and for reporting device activity i think i just need a parent app to se them... dont know if i need a child monitor app to enable that functions on child device. Thank you all!
1
0
998
Apr ’23
Cannot get DeviceActivityReport to work
I am unable to make any progress regarding DeviceActivityReport. The session from WWDC 2022 covers it very briefly. What I (hopefully correctly) understood is that we need to create an extension of type Activity report and inside it implement the body which is DeviceActivityReportScene that will display the charts and what not. And then in the app, we need to use DeviceActivityReport with SwiftUI to show the report which will be run in sandbox from the extension. But I cannot get anything to show up on the screen. Even when my extension view is just a static text to verify something gets displayed. I am trying to create the device activity report without any filter which should give me all activity data per the docs. This is shown in the Xcode console for the view that uses DeviceActivityReport. 2022-06-17 18:08:47.219785+0200 DeviceActivityTest[9613:954204] [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2022-06-17 18:08:47.219862+0200 DeviceActivityTest[9613:954204] [default] Attempt to map database failed: permission was denied. This attempt will not be retried. 2022-06-17 18:08:47.219911+0200 DeviceActivityTest[9613:954204] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2022-06-17 18:08:47.290070+0200 DeviceActivityTest[9613:954204] [default] Remote viewcontroller request failed: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 9615 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service with pid 9615 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.}
17
2
5.9k
Mar ’23
How can I save device activity data fetched from Device Activity Report
I want to save DeviceActivityReportScene data on Persistent Database for future use. Is there any way I can achieve that? as I am not able to get that done using Filemanager URL with AppGroup. Is it even possible to save the data? makeConfiguration -> Is where I am trying to save the data using DB Helper class.
3
0
1.6k
Mar ’23
iOS 16.4 Beta Regression: FamilyActivityPicker inserts a big navigation bar at the top
Just doing an extra flag on FB12014830 before it releases as that theoretically is a UI regression from previous iOS versions (apps have to release UI changes to adapt). I do appreciate that we can now search apps! :) (note that FamilyActivityPicker also still has issues around freezing/crashing: FB11737092 + FB11994816, but that's technically not a regression)
0
1
792
Mar ’23
Can not trigger `intervalDidStart`| dear Kmart, are you still here?
I have posted a question on https://developer.apple.com/forums/thread/724437 The apple staff Kmart offerred me very helpful suggestions. However, i cannot leave a comment below it ( i am confused now) Following the apple staff Kmart's instuction, i submit a feedback and request TSI with. a sample Xcode project on (https://github.com/orcas1202/sample_for_TSI) However, TSI replied that it is still under investigation. So, i am here to find some support. Would you please take a look at the very sample project. Thanks in advance.
2
1
1k
Mar ’23
DeviceActivityReport not playing nicely with NavigationStack
DeviceActivityReport does not seem to re-render properly when a subview is popped off of a NavigationStack. The following code (with the extension code generated directly from XCode boilerplate) renders the device activity report when the app loads, but after the button is pressed and the new subview is dismissed, the device activity view becomes blank. I don't see the same behavior with a modal like .sheet(). XCode 14.2 (14C18), iOS 16.3 beta (20D5035i) import SwiftUI import DeviceActivity extension DeviceActivityReport.Context {   static let totalActivity = Self("Total Activity") } struct OtherContentView: View {   var body: some View {     VStack {}   } } struct ContentView: View {   let context: DeviceActivityReport.Context = .totalActivity   let filter = DeviceActivityFilter(     segment:.daily(       during: DateInterval(         start: Date().addingTimeInterval(-24 * 3600),         end: Date()       )     )   )       var body: some View {     NavigationStack {       List {         NavigationLink(destination: {           OtherContentView()         }, label: {           Text("Press Me")         })         DeviceActivityReport(context, filter:filter)           .frame(maxWidth: .infinity, minHeight: 250.0)       }     }   } } If I put the report below the List, like so...    var body: some View {     NavigationStack {       List {         NavigationLink(destination: {           OtherContentView()         }, label: {           Text("Press Me")         })       }       DeviceActivityReport(context, filter:filter)         .frame(maxWidth: .infinity, minHeight: 250.0)     } ...the report still shows after popping the subview from the navigation stack, but then after a few seconds it becomes blank with the following error reported in XCode terminal: [default] VS terminated with error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
2
1
2.2k
Feb ’23
Unable to see the child apps in familyActivityPicker
Hi All, I implemented the AuthorizationCenter.shared.requestAuthorization(for: .child) as per the documentation and authorised the child device. On the parent device, the family sharing enabled and child account is under the family group. Now when I run my app on the parent device and call the familyactivitypicker, only the categories are shown and no apps from child device are being populated as per the provided documentation. https://developer.apple.com/documentation/familycontrols/familyactivitypicker Do you have any sample code for parental control for IOS 16 that can be looked into as a reference.
2
1
1.2k
Feb ’23
Monitor DeviceActivityEvent for all categories: ActivityCategoryPolicy.all? Without using FamilyActivityPicker
Using ManagedSettings I'm able to shield all categories of applications using ActivityCategoryPolicy.all , without the user using picking categories with the FamilyActivityPicker. I would like to create a DeviceActivityMonitor which monitors events for all (or a specific) categories of apps, without the user needing to interact with the FamilyActivityPicker. Is this possible? And an extra question: is there no way to pick a specific category to shield? Just like we are able to do with ActivityCategoryPolicy.all, instead something like: ActivityCategoryPolicy.games
0
0
1.1k
Feb ’23
Wishes for ScreenTime Features/ Bugs
I would love to have more options in ScreenTime. Most importantly one should have the option to block individual apps in specific timeframes i. e. Instagram => only allowed between 6 and 8 pm. (at the moment one would have to block everything with “downtime“ and then put all the other apps in “always allow“) Same feature for websites in the browser would be cool too!! There is a bug in the Desktop version, where the audio of an app won't stop when the limit is reached.
0
0
530
Feb ’23
Monitor screen time of social media apps
Hi, I’m making an app that should send an alert to a database whenever the user surpasses an amount of social media total screen time on the day itself example: if user used instagram and facebook today and the total screen time of these 2 apps is over 2h => send alert to firebase server. is this possible? if yes, how? it would be great to point out some great revourses and a demo app :) keep coding and make the world a better place Alex
0
0
590
Feb ’23
Check if the device belongs to apple family, so that we can decide whether to request "child" or "individual" screentime authorization
I have a requirement where I need to check if the device belongs to apple family. Based on that, I can decide whether to request "child" or "individual" screentime authorization. Till now, the only possible way seems to be by requesting authorization for child, and seeing if it gives error or succeeds. But that is not a good solution, because I want to know in advance about the status whether I can request access or not.
0
2
689
Feb ’23
DeviceActivityReportExtension error
I've created a new project to see how "DeviceActivityReportExtension" works. After creating the app, added the extension and also added "FamilyControl" capability. In the main, I've added only the report view using SwiftUI, but it does not work. This is the error I get: 2023-04-27 18:21:55.980280-0700 TestScreenTime[38540:24995233] [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-04-27 18:21:55.980313-0700 TestScreenTime[38540:24995233] [default] Attempt to map database failed: permission was denied. This attempt will not be retried. 2023-04-27 18:21:55.980337-0700 TestScreenTime[38540:24995233] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2023-04-27 18:21:56.029480-0700 TestScreenTime[38540:24995233] [default] Remote viewcontroller request failed: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 38542 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service with pid 38542 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.} The deployment target is set to 16.0, and Xcode version is 14.3 (14E222b).
Replies
2
Boosts
0
Views
1.4k
Activity
Apr ’23
Critical bugs (and regressions) remaining after release
Hello! I've filed bugs/radar/feedback that are reproducible, with Xcode project attached, and videos. However, they haven't gotten attention (even across iOS releases). Maybe they aren't seen, so I'll try to more actively advertise them here. Recent regression starting iOS 16.1 where FamilyActivityPicker will sometimes fail to properly expand and show all applications (makes it difficult for users to select applications or know what is going on): FB11737092 Outstanding bug that likely has been there since the start of Screen Time API being released to .individual. DeviceActivityReport has some odd "concurrency" issues where it shows data for the wrong reports. If one debugs DeviceActivityReportExtension with 2+ scenes, each scene can receive data from an unrelated scene. The debugger shows multiple calls to func makeConfiguration(representing data: DeviceActivityResults<DeviceActivityData> across many threads when you'd think only one call would be necessary. If one uses only a SINGLE scene, these issues do not occur. FB11725142 Thank you for the great API and I'm excited to keep developing with it :) I also know of other bugs that I can reproduce, so if there's interest in working more closely to polishing up all the bugs, I'm always happy to work with the Apple engineers!
Replies
3
Boosts
3
Views
1.6k
Activity
Apr ’23
max length of DeviceActivityName?
Is there a maximum length for the name of a DeviceActivity? Practically, I'm wondering if I can assume no loss/truncation in the string as long as it's under 2000 characters, nothing too crazy.
Replies
1
Boosts
0
Views
1.1k
Activity
Apr ’23
set ShieldConfigurationDataSource for webDomains
There are two ways to initialize a WebDomain when adding it to a ManagedSettingStore to be shielded. The first is by providing the relevant URL. The second is by providing a token representing a WebDomain that the user picked from the FamilyActivityPicker When using the second way, I'm able to configure the appropriate shield with aShieldConfigurationDelegate and control its behavior with a ShieldActionDelegate When using the first way, I am not. The shield is rendered, but I have no control over its appearance or behavior. My ShieldConfigurationDelegate and ShieldActionDelegate classes are not being hit. How can I set the ShieldConfigurationDataSource of WebDomains constructed via explicit URL?
Replies
3
Boosts
0
Views
1.6k
Activity
Apr ’23
Bug: shielding one app or website, can shield others
Hi there, raising this issue for visibility as the Feedback says this is expected behavior: FB11988641 Examples: Blocking "Amazon" will block "Amazon Alexa" Blocking "m.facebook.com" will block "Messenger" (the Facebook "Messenger") Several users have reported this as a bug
Replies
0
Boosts
0
Views
859
Activity
Apr ’23
How manage child iOS devices with 2022 new ScreenTime API functions?
Hi! We are developing a multi-platform 'parental control' app. Its more a 'monitoring app' than a 'restrictions app' cause we just wanna show parents their child device usage based on some settings parent choose (Android and iOS). We have it developed on Android (child monitor and parent control) and now we wanna try iOS Screen Time API, so i have a few questions: Is it possible to see child iPhone usage on parent Android device (because some parents could not have an iPhone...)? If not, is it possible to see it on a web interface (some dashboard...)? Maybe its just available for iOS devices on family center so child and parent must have iOS devices? Other question is: It's needed to develop on iOS a child 'monitor' app? I think it is, cause i saw videos, and for reporting device activity i think i just need a parent app to se them... dont know if i need a child monitor app to enable that functions on child device. Thank you all!
Replies
1
Boosts
0
Views
998
Activity
Apr ’23
Send device acitivty data to external server
Hi all, after a couple days trying to build a parental control app with screen time API, I wonder if there is any way to send device activity data to an external server. I tried to use DeviceActivityReport but it is a sandbox and can’t get the data Thank you so much for your help.
Replies
1
Boosts
0
Views
786
Activity
Apr ’23
Cannot get DeviceActivityReport to work
I am unable to make any progress regarding DeviceActivityReport. The session from WWDC 2022 covers it very briefly. What I (hopefully correctly) understood is that we need to create an extension of type Activity report and inside it implement the body which is DeviceActivityReportScene that will display the charts and what not. And then in the app, we need to use DeviceActivityReport with SwiftUI to show the report which will be run in sandbox from the extension. But I cannot get anything to show up on the screen. Even when my extension view is just a static text to verify something gets displayed. I am trying to create the device activity report without any filter which should give me all activity data per the docs. This is shown in the Xcode console for the view that uses DeviceActivityReport. 2022-06-17 18:08:47.219785+0200 DeviceActivityTest[9613:954204] [default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2022-06-17 18:08:47.219862+0200 DeviceActivityTest[9613:954204] [default] Attempt to map database failed: permission was denied. This attempt will not be retried. 2022-06-17 18:08:47.219911+0200 DeviceActivityTest[9613:954204] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=66, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler} 2022-06-17 18:08:47.290070+0200 DeviceActivityTest[9613:954204] [default] Remote viewcontroller request failed: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service with pid 9615 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid." UserInfo={NSDebugDescription=The connection to service with pid 9615 named com.apple.DeviceActivityUI.DeviceActivityReportService.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.}
Replies
17
Boosts
2
Views
5.9k
Activity
Mar ’23
Family Activity Picker | Screen Time API features iOS 16
Label(selection.applicationTokens.first!)is not showing, what is the problem? if selection.applicationTokens.count != 0 { Label(selection.applicationTokens.first!) } else { Label("No application", systemImage: "app.dashed") } FamilyActivityPicker(selection: $selection)
Replies
0
Boosts
1
Views
718
Activity
Mar ’23
How can I save device activity data fetched from Device Activity Report
I want to save DeviceActivityReportScene data on Persistent Database for future use. Is there any way I can achieve that? as I am not able to get that done using Filemanager URL with AppGroup. Is it even possible to save the data? makeConfiguration -> Is where I am trying to save the data using DB Helper class.
Replies
3
Boosts
0
Views
1.6k
Activity
Mar ’23
iOS 16.4 Beta Regression: FamilyActivityPicker inserts a big navigation bar at the top
Just doing an extra flag on FB12014830 before it releases as that theoretically is a UI regression from previous iOS versions (apps have to release UI changes to adapt). I do appreciate that we can now search apps! :) (note that FamilyActivityPicker also still has issues around freezing/crashing: FB11737092 + FB11994816, but that's technically not a regression)
Replies
0
Boosts
1
Views
792
Activity
Mar ’23
FamilyActivitySelection customization | Screen Time API features iOS 16
How can I customize the colors of this component? I tried this combination without success: FamilyActivityPicker(headerText: "Select apps", selection: $model.selectionToDiscourage) .scrollContentBackground(.hidden) .background(Color.yellow)
Replies
3
Boosts
0
Views
1.3k
Activity
Mar ’23
Can not trigger `intervalDidStart`| dear Kmart, are you still here?
I have posted a question on https://developer.apple.com/forums/thread/724437 The apple staff Kmart offerred me very helpful suggestions. However, i cannot leave a comment below it ( i am confused now) Following the apple staff Kmart's instuction, i submit a feedback and request TSI with. a sample Xcode project on (https://github.com/orcas1202/sample_for_TSI) However, TSI replied that it is still under investigation. So, i am here to find some support. Would you please take a look at the very sample project. Thanks in advance.
Replies
2
Boosts
1
Views
1k
Activity
Mar ’23
DeviceActivityReport not playing nicely with NavigationStack
DeviceActivityReport does not seem to re-render properly when a subview is popped off of a NavigationStack. The following code (with the extension code generated directly from XCode boilerplate) renders the device activity report when the app loads, but after the button is pressed and the new subview is dismissed, the device activity view becomes blank. I don't see the same behavior with a modal like .sheet(). XCode 14.2 (14C18), iOS 16.3 beta (20D5035i) import SwiftUI import DeviceActivity extension DeviceActivityReport.Context {   static let totalActivity = Self("Total Activity") } struct OtherContentView: View {   var body: some View {     VStack {}   } } struct ContentView: View {   let context: DeviceActivityReport.Context = .totalActivity   let filter = DeviceActivityFilter(     segment:.daily(       during: DateInterval(         start: Date().addingTimeInterval(-24 * 3600),         end: Date()       )     )   )       var body: some View {     NavigationStack {       List {         NavigationLink(destination: {           OtherContentView()         }, label: {           Text("Press Me")         })         DeviceActivityReport(context, filter:filter)           .frame(maxWidth: .infinity, minHeight: 250.0)       }     }   } } If I put the report below the List, like so...    var body: some View {     NavigationStack {       List {         NavigationLink(destination: {           OtherContentView()         }, label: {           Text("Press Me")         })       }       DeviceActivityReport(context, filter:filter)         .frame(maxWidth: .infinity, minHeight: 250.0)     } ...the report still shows after popping the subview from the navigation stack, but then after a few seconds it becomes blank with the following error reported in XCode terminal: [default] VS terminated with error: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
Replies
2
Boosts
1
Views
2.2k
Activity
Feb ’23
Unable to see the child apps in familyActivityPicker
Hi All, I implemented the AuthorizationCenter.shared.requestAuthorization(for: .child) as per the documentation and authorised the child device. On the parent device, the family sharing enabled and child account is under the family group. Now when I run my app on the parent device and call the familyactivitypicker, only the categories are shown and no apps from child device are being populated as per the provided documentation. https://developer.apple.com/documentation/familycontrols/familyactivitypicker Do you have any sample code for parental control for IOS 16 that can be looked into as a reference.
Replies
2
Boosts
1
Views
1.2k
Activity
Feb ’23
Monitor DeviceActivityEvent for all categories: ActivityCategoryPolicy.all? Without using FamilyActivityPicker
Using ManagedSettings I'm able to shield all categories of applications using ActivityCategoryPolicy.all , without the user using picking categories with the FamilyActivityPicker. I would like to create a DeviceActivityMonitor which monitors events for all (or a specific) categories of apps, without the user needing to interact with the FamilyActivityPicker. Is this possible? And an extra question: is there no way to pick a specific category to shield? Just like we are able to do with ActivityCategoryPolicy.all, instead something like: ActivityCategoryPolicy.games
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’23
Wishes for ScreenTime Features/ Bugs
I would love to have more options in ScreenTime. Most importantly one should have the option to block individual apps in specific timeframes i. e. Instagram => only allowed between 6 and 8 pm. (at the moment one would have to block everything with “downtime“ and then put all the other apps in “always allow“) Same feature for websites in the browser would be cool too!! There is a bug in the Desktop version, where the audio of an app won't stop when the limit is reached.
Replies
0
Boosts
0
Views
530
Activity
Feb ’23
Monitor screen time of social media apps
Hi, I’m making an app that should send an alert to a database whenever the user surpasses an amount of social media total screen time on the day itself example: if user used instagram and facebook today and the total screen time of these 2 apps is over 2h => send alert to firebase server. is this possible? if yes, how? it would be great to point out some great revourses and a demo app :) keep coding and make the world a better place Alex
Replies
0
Boosts
0
Views
590
Activity
Feb ’23
Check if the device belongs to apple family, so that we can decide whether to request "child" or "individual" screentime authorization
I have a requirement where I need to check if the device belongs to apple family. Based on that, I can decide whether to request "child" or "individual" screentime authorization. Till now, the only possible way seems to be by requesting authorization for child, and seeing if it gives error or succeeds. But that is not a good solution, because I want to know in advance about the status whether I can request access or not.
Replies
0
Boosts
2
Views
689
Activity
Feb ’23
Setting Usage Limit on selected Apps via FamiliyActivitySelection
Hello everyone, I am trying to develop an app that allows users to use other apps under some conditions. I watch both wwdc21 and wwdc22 but could not find any solution on the "usage limit". I know how can i restrict some of the apps users selected but I just also want to be able to set usage limits as well.
Replies
0
Boosts
0
Views
666
Activity
Feb ’23