Sending screentime data to firebase then to accountability partner

Hey . So i'm building a screentime app whereby users can add an accountability partner who will be able to see their total screentime.(no app breakdowns included) .

This will require me to send the data to firebase realtime database and retrieve for the accountability partner to see. Problem is , I've literally tried everything but the screentime still shows 0m on the accountabiliy partner's end.

I need the data to be displayed rounded down to the nearest 0.5 e.g 1hr43mins ->1.5hrs+ ,2.0hrs+ ,3.5hrs+ , meaning it only moves when a threshold is crossed by the user. (this is to save database costs). Anyway i'd really appreciate if someone could help me out here. Thanks

@aishahhamman

By design and privacy concerns, you can't extract the device activity data. You can read the data and use it within the device activity target to perform actions needed for your app to function, so long as these actions do not involve storing or manipulating data collected by the service.

Sending screentime data to firebase then to accountability partner
 
 
Q