Skip to content

Ship accurate sleep detection for version 1.4.1 - #2

Draft
pH-7 wants to merge 19 commits into
mainfrom
codex/sleep-accuracy-watch-release
Draft

Ship accurate sleep detection for version 1.4.1#2
pH-7 wants to merge 19 commits into
mainfrom
codex/sleep-accuracy-watch-release

Conversation

@pH-7

@pH-7 pH-7 commented Aug 13, 2026

Copy link
Copy Markdown
Member

What changed

  • preserves app inactivity boundaries across iOS suspension and resume
  • requires review for app-only estimates and refines boundaries with optional Apple Health or Watch evidence
  • persists candidates, confirmed sessions, and Health sync state safely
  • adds the Apple Watch companion, HealthKit permissions, store screenshots, and creator credits
  • corrects misleading notification, statistics, privacy, and App Store copy
  • aligns React Native with Expo SDK 55 and patches safe transitive dependencies

Why

The previous implementation could overwrite the inactivity start when the app resumed, causing a near-zero interval. It also needed clearer confidence handling, durable confirmation, Health duplicate protection, and accurate public claims.

User impact

Users receive an editable estimate after returning from a qualifying inactive period. Optional Apple Health and Watch evidence can make it more precise without continuous sensor monitoring. Confirmed periods can sync to Health without duplicate writes.

Validation

  • 31 Jest tests pass
  • TypeScript passes
  • ESLint reports zero errors
  • Expo Doctor passes 19/19 checks
  • production iOS JavaScript export succeeds
  • Release iPhone + Watch native simulator build succeeds
  • entitlements, privacy manifests, icons, and Watch screenshot dimensions validated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant