I need a lightweight Android and iOS companion app whose only job is to capture non-identifiable analytics while the user interacts with any other apps on the device. My research focuses on “Digital Lethargy,” so the dataset must centre on two dimensions: • Precise app-usage time for every foreground session • Detailed event tracking on each screen the user visits (tap, scroll, pause length, exit) No personal identifiers, login credentials, or content payloads may be stored—just the timing, screen tags, and event metadata necessary for behavioural analysis. Core expectations 1. Cross-platform build (native Kotlin/Swift or a unified framework such as Flutter or React Native—your call as long as performance overhead stays minimal). 2. Background service that starts on boot, requests the permissions required for Usage Access, and streams the metrics continuously. 3. Local encryption of the log file, with the option to push batches to an endpoint I’ll host (HTTPS/REST or Firebase; happy to follow your best practice). 4. Toggle switch inside the app to pause or resume tracking so testers feel in control. 5. Clear on-screen disclosure explaining what is collected and what is not. Acceptance criteria • Compiles and runs on Android 10+ and iOS 15+. • Produces a CSV or JSON export matching the agreed schema: timestamp, app_package, screen_id, event_type, dwell_ms. • Codebase documented well enough for a hand-off to my internal data team. If you have prior experience with UsageStatsManager, AccessibilityService, or iOS Screen Time APIs, that will speed things up. Let me know how you would minimise battery impact and manage the permission flow, and share a quick outline of the tech stack you’d prefer. Looking forward to seeing how you would architect this and the timeline you can commit to.