Search results for

“DeviceActivityReport”

143 results found

Post

Replies

Boosts

Views

Activity

Access Screen Time total usage from main app when using DeviceActivityReportExtension
I am building a simple iOS app that shows the total phone usage time for today using the Screen Time APIs. Architecture: Main app → requests authorization using AuthorizationCenter.shared.requestAuthorization(for: .individual) → displays a DeviceActivityReport Report extension → DeviceActivityReportExtension → calculates total usage using DeviceActivityResults → shows the number in a SwiftUI view The report works correctly. The extension successfully calculates the total usage and displays it on screen. Example logic inside the report extension: for await activityData in data { for await segment in activityData.activitySegments { totalSeconds += segment.totalActivityDuration } } let totalMinutes = Int(totalSeconds / 60) The problem: I need the main app to access that number so I can store it daily in my own database. I tried to send the value from the extension to the main app using: App Group + UserDefaults(suiteName:) App Group + shared file (FileManager.containerURL) writing inside makeConfigurati
1
0
820
Mar ’26
Supported Screen Time data access for App Store users in Switzerland
Hello, We are developing an iOS app that helps people review their device use through daily carbon estimates, a garden, local history and Home Screen widgets. All processing stays on the device. We want users to grant permission without choosing each app or entering daily figures. The app has Family Controls distribution approval and the Family Controls App and Website Usage capability. However, the documentation for approvedWithDataAccess describes customer access for a device in the EU with an Apple Account set to an EU country or region. The Apple-provided development profile allows testing in other regions, so we do not treat a successful development test in Switzerland as approval for Swiss customers. Could an Apple engineer clarify the supported design for users located in Switzerland with a Swiss Apple Account? Is there a documented API, entitlement or approval route for direct app-duration access in this situation? If direct access is unavailable, can ordinary individual authorization and DeviceActivityReport
0
0
99
3w
Can a subscription manager use Family Controls or a Shortcuts automation to show per-app usage?
Hi, We're building Keepi, an iOS app that helps people manage their recurring subscriptions and fixed costs (streaming, music, AI tools). Its primary purpose is subscription management. Our core question for users is Did you actually use this subscription this month? Today users answer it by hand, and we'd like to fill it in automatically, with the user's permission and only for their own device. Option A: Family Controls / DeviceActivity With individual authorization, the user would pick the apps tied to their subscriptions. We would show how much they used each app this month, using DeviceActivity thresholds or a DeviceActivityReport, so they can decide whether to keep or cancel the subscription. Usage data stays on the device. We don't block or limit apps and don't use ManagedSettings. We don't use the data for advertising or share it with anyone. The Family Controls distribution terms say an app's primary purpose must be parental controls, or helping individuals with focus, productivity, or perso
0
0
66
3d
Supported US API for voluntary screen-time summaries shared between two adults?
We are evaluating a native iOS feature for Kept, a two-adult daily-connection app, with initial customers physically in the United States using US-region Apple Accounts. Each adult would independently authorize access on their own iPhone and opt in to share daily total screen time and per-app names/minutes with one paired adult through our backend. Each person would preview the same summary their partner receives and could stop sharing or unpair at any time. Neither could configure or enforce restrictions on the other's device. Any app blocking would be separately controlled by the device owner. We do not need message contents, websites visited, or a live activity feed. We have reviewed: DeviceActivityReport, whose extension isolates usage data and prevents networking. DeviceActivityData.activityData(filteredBy:using:), whose documented customer availability is limited to EU devices/accounts, despite broader development testing access. Developer Program License Agreement section 3.3.3 P, which raises
0
0
377
Sep ’26
DeviceActivity `eventDidReachThreshold` fires immediately on iOS 26.5.2 — fix timeline & supported alternative for usage-based reminders?
Following up on my earlier thread about non-blocking interventions. I ran a clean, isolated test on iOS 26.5.2: I start DeviceActivityCenter.startMonitoring with a single event whose threshold is 2 minutes of usage for a selected app (includesPastActivity = false), with actions on eventDidReachThreshold. Result: the event's recorded trigger time is +0 seconds from monitoring start (immediate), it fires without any real usage, and after 2 minutes of actual use no notification and no ManagedSettings shield are applied. This matches the regression discussed in Forum thread 808470 / FB18061981. Concretely, the feature we want to build: while a user is using a selected app, deliver a repeating local notification every N minutes of usage (e.g., every 15 minutes) whose body states how many minutes they've used that app today (e.g., You've used TikTok for 45 minutes today). This is a gentle, factual awareness nudge — no blocking. This is exactly what eventDidReachThreshold with multiple thresholds (15/30/45 min…) + s
0
0
401
Jul ’26
Automated 2.5.1 "not submitted with the Family Controls entitlement" although entitlement is assigned and in the build
My first submission was stopped by an automated App Review message, and I can't find anything on my side to fix. It looks the same as the reports in thread 838802. The message (Guideline 2.5.1): An automated analysis indicates the app uses one or more Screen Time APIs but the app has not been submitted with the Family Controls entitlement. App Name: blorbs, Apple ID 6836228369 Bundle ID: app.blorb.ios, Team ID: WVVPTV9U33 Version 1.0.0 (1), submitted Nov 18, 2026, 1:29 AM PT Automated message received Nov 18, 10:34 AM PT Submission ID: 4d3288f6-3a5b-48cb-8f1e-20fc01a55c14 Built with Xcode 26.6 (iOS 26.5 SDK), minimum iOS 17, automatic signing What the app is A personal focus app. The user picks apps to lock on their own device (individual authorization) and unlocks them by tapping an NFC accessory. Targets: the main app, a DeviceActivityMonitor extension, a ShieldConfiguration extension, and a widget / Live Activity extension. What I verified Approval: Apple Developer Relations emailed on Nov 11, 2026 that Fa
2
0
301
1w
Version 1.0.0 stuck in "Waiting for Review" for ~2 weeks after an automated Guideline 2.5.1 message about the Family Controls entitlement
Our app — a screen-time / focus app — has had no App Review activity for two weeks, and we believe the trigger was an automated Guideline 2.5.1 check that froze an otherwise actively progressing review. (This forum account is linked to the developer account in question; we can provide the App ID, bundle IDs, submission IDs, and support case numbers through any private channel on request.) Context: Jul 2–5: Our first submission (Version 1.0.0) was under active review. We went through several ordinary metadata / paywall-related iterations, and the reviewer responded within roughly 24 hours each time. Nothing related to Screen Time was raised in these human reviews of builds 9 and 10. Jul 8: After we submitted build 11 — which addressed the remaining human-review feedback — we received an automated Guideline 2.5.1 (Performance: Software Requirements) message stating that the app uses the Screen Time API but has not been submitted with the Family Controls entitlement, and that review of the submission cannot proc
4
0
1.4k
Jul ’26
Device Activity Report Not showing any information
All After about 20 hours straight of working on this and having scrapped it twice I am realizing I should have asked everyone here for help. I am just trying to get device activity report extension to work inside an existing app. I have been heavily using family controls, managedsettings and deviceactivity and decided it would be nice to output some of the app usage so the User (parent) can see their children's app usage. I installed the target via xcode, confirmed group names match, and think I have it embedded correctly but when I run the app and call the view within the extension to show minutes used by any apps it just shows no time has been used. In addition, when I put print statements into the extension they do not show up in console. I have confirmed the main app target->Build phases->Link binary with Libraries has: ManagedSettings.framework FamilyControls.Framework DeviceActivity.framework I have confirmed in xcode that the main app target->Build phases -> Embed Foundation Extensions has:
3
0
532
Apr ’25
Access Screen Time total usage from main app when using DeviceActivityReportExtension
I am building a simple iOS app that shows the total phone usage time for today using the Screen Time APIs. Architecture: Main app → requests authorization using AuthorizationCenter.shared.requestAuthorization(for: .individual) → displays a DeviceActivityReport Report extension → DeviceActivityReportExtension → calculates total usage using DeviceActivityResults → shows the number in a SwiftUI view The report works correctly. The extension successfully calculates the total usage and displays it on screen. Example logic inside the report extension: for await activityData in data { for await segment in activityData.activitySegments { totalSeconds += segment.totalActivityDuration } } let totalMinutes = Int(totalSeconds / 60) The problem: I need the main app to access that number so I can store it daily in my own database. I tried to send the value from the extension to the main app using: App Group + UserDefaults(suiteName:) App Group + shared file (FileManager.containerURL) writing inside makeConfigurati
Replies
1
Boosts
0
Views
820
Activity
Mar ’26
Supported Screen Time data access for App Store users in Switzerland
Hello, We are developing an iOS app that helps people review their device use through daily carbon estimates, a garden, local history and Home Screen widgets. All processing stays on the device. We want users to grant permission without choosing each app or entering daily figures. The app has Family Controls distribution approval and the Family Controls App and Website Usage capability. However, the documentation for approvedWithDataAccess describes customer access for a device in the EU with an Apple Account set to an EU country or region. The Apple-provided development profile allows testing in other regions, so we do not treat a successful development test in Switzerland as approval for Swiss customers. Could an Apple engineer clarify the supported design for users located in Switzerland with a Swiss Apple Account? Is there a documented API, entitlement or approval route for direct app-duration access in this situation? If direct access is unavailable, can ordinary individual authorization and DeviceActivityReport
Replies
0
Boosts
0
Views
99
Activity
3w
Can a subscription manager use Family Controls or a Shortcuts automation to show per-app usage?
Hi, We're building Keepi, an iOS app that helps people manage their recurring subscriptions and fixed costs (streaming, music, AI tools). Its primary purpose is subscription management. Our core question for users is Did you actually use this subscription this month? Today users answer it by hand, and we'd like to fill it in automatically, with the user's permission and only for their own device. Option A: Family Controls / DeviceActivity With individual authorization, the user would pick the apps tied to their subscriptions. We would show how much they used each app this month, using DeviceActivity thresholds or a DeviceActivityReport, so they can decide whether to keep or cancel the subscription. Usage data stays on the device. We don't block or limit apps and don't use ManagedSettings. We don't use the data for advertising or share it with anyone. The Family Controls distribution terms say an app's primary purpose must be parental controls, or helping individuals with focus, productivity, or perso
Replies
0
Boosts
0
Views
66
Activity
3d
Supported US API for voluntary screen-time summaries shared between two adults?
We are evaluating a native iOS feature for Kept, a two-adult daily-connection app, with initial customers physically in the United States using US-region Apple Accounts. Each adult would independently authorize access on their own iPhone and opt in to share daily total screen time and per-app names/minutes with one paired adult through our backend. Each person would preview the same summary their partner receives and could stop sharing or unpair at any time. Neither could configure or enforce restrictions on the other's device. Any app blocking would be separately controlled by the device owner. We do not need message contents, websites visited, or a live activity feed. We have reviewed: DeviceActivityReport, whose extension isolates usage data and prevents networking. DeviceActivityData.activityData(filteredBy:using:), whose documented customer availability is limited to EU devices/accounts, despite broader development testing access. Developer Program License Agreement section 3.3.3 P, which raises
Replies
0
Boosts
0
Views
377
Activity
Sep ’26
DeviceActivity `eventDidReachThreshold` fires immediately on iOS 26.5.2 — fix timeline & supported alternative for usage-based reminders?
Following up on my earlier thread about non-blocking interventions. I ran a clean, isolated test on iOS 26.5.2: I start DeviceActivityCenter.startMonitoring with a single event whose threshold is 2 minutes of usage for a selected app (includesPastActivity = false), with actions on eventDidReachThreshold. Result: the event's recorded trigger time is +0 seconds from monitoring start (immediate), it fires without any real usage, and after 2 minutes of actual use no notification and no ManagedSettings shield are applied. This matches the regression discussed in Forum thread 808470 / FB18061981. Concretely, the feature we want to build: while a user is using a selected app, deliver a repeating local notification every N minutes of usage (e.g., every 15 minutes) whose body states how many minutes they've used that app today (e.g., You've used TikTok for 45 minutes today). This is a gentle, factual awareness nudge — no blocking. This is exactly what eventDidReachThreshold with multiple thresholds (15/30/45 min…) + s
Replies
0
Boosts
0
Views
401
Activity
Jul ’26
Automated 2.5.1 "not submitted with the Family Controls entitlement" although entitlement is assigned and in the build
My first submission was stopped by an automated App Review message, and I can't find anything on my side to fix. It looks the same as the reports in thread 838802. The message (Guideline 2.5.1): An automated analysis indicates the app uses one or more Screen Time APIs but the app has not been submitted with the Family Controls entitlement. App Name: blorbs, Apple ID 6836228369 Bundle ID: app.blorb.ios, Team ID: WVVPTV9U33 Version 1.0.0 (1), submitted Nov 18, 2026, 1:29 AM PT Automated message received Nov 18, 10:34 AM PT Submission ID: 4d3288f6-3a5b-48cb-8f1e-20fc01a55c14 Built with Xcode 26.6 (iOS 26.5 SDK), minimum iOS 17, automatic signing What the app is A personal focus app. The user picks apps to lock on their own device (individual authorization) and unlocks them by tapping an NFC accessory. Targets: the main app, a DeviceActivityMonitor extension, a ShieldConfiguration extension, and a widget / Live Activity extension. What I verified Approval: Apple Developer Relations emailed on Nov 11, 2026 that Fa
Replies
2
Boosts
0
Views
301
Activity
1w
Version 1.0.0 stuck in "Waiting for Review" for ~2 weeks after an automated Guideline 2.5.1 message about the Family Controls entitlement
Our app — a screen-time / focus app — has had no App Review activity for two weeks, and we believe the trigger was an automated Guideline 2.5.1 check that froze an otherwise actively progressing review. (This forum account is linked to the developer account in question; we can provide the App ID, bundle IDs, submission IDs, and support case numbers through any private channel on request.) Context: Jul 2–5: Our first submission (Version 1.0.0) was under active review. We went through several ordinary metadata / paywall-related iterations, and the reviewer responded within roughly 24 hours each time. Nothing related to Screen Time was raised in these human reviews of builds 9 and 10. Jul 8: After we submitted build 11 — which addressed the remaining human-review feedback — we received an automated Guideline 2.5.1 (Performance: Software Requirements) message stating that the app uses the Screen Time API but has not been submitted with the Family Controls entitlement, and that review of the submission cannot proc
Replies
4
Boosts
0
Views
1.4k
Activity
Jul ’26
Device Activity Report Not showing any information
All After about 20 hours straight of working on this and having scrapped it twice I am realizing I should have asked everyone here for help. I am just trying to get device activity report extension to work inside an existing app. I have been heavily using family controls, managedsettings and deviceactivity and decided it would be nice to output some of the app usage so the User (parent) can see their children's app usage. I installed the target via xcode, confirmed group names match, and think I have it embedded correctly but when I run the app and call the view within the extension to show minutes used by any apps it just shows no time has been used. In addition, when I put print statements into the extension they do not show up in console. I have confirmed the main app target->Build phases->Link binary with Libraries has: ManagedSettings.framework FamilyControls.Framework DeviceActivity.framework I have confirmed in xcode that the main app target->Build phases -> Embed Foundation Extensions has:
Replies
3
Boosts
0
Views
532
Activity
Apr ’25