Is Screen Time trapped inside DeviceActivityReport on purpose?

I can see the user’s real daily Screen Time perfectly inside a DeviceActivityReport extension on a physical device.

It’s right there.

But the moment I try to use that exact total inside my main app (for today’s log and a leaderboard), it dosnt work.

I’ve tried, App Groups, Shared UserDefaults, Writing to a shared container file, CFPreferences

Nothing makes it across. The report displays fine, but the containing app never receives the total. If this is sandboxed by design, I’d love confirmation. Thanks a lot

Is Screen Time trapped inside DeviceActivityReport on purpose?
 
 
Q