Skip to content

Any way to get DeviceActivity programmatically in background? #15

@Jpoliachik

Description

@Jpoliachik

I see you're currently getting iOS DeviceActivity data by rendering ActivityCategoryToken / ApplicationToken converting to image, and doing OCR to extract the text. This seems crazy to me - is there really no way to get this data from an Apple API?
I'd appreciate any insight you have. I'm trying to build an app that gets total pickup / screen time usage, and struggling with Apple's API. Curious to hear from you why the OCR solution is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions