Skip to content

Add native Setline account sync - #24

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
fix/issue-22-native-sync
Aug 11, 2026
Merged

Add native Setline account sync#24
sarthakagrawal927 merged 1 commit into
mainfrom
fix/issue-22-native-sync

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Tracks #22

What changed

  • add exact-callback Google OAuth handoff and Better Auth bearer sessions
  • keep the session token in Keychain and add native sign-in, sync, sign-out, and account deletion controls
  • add revision-checked native whole-state sync with explicit device/account conflict choices
  • preserve local-first workouts and freeze cloud writes when a conflict is deferred
  • add the unapplied D1 migration and quiet simulator design evidence

Validation

  • pnpm run check — 59 tests passed
  • cd ios && ./scripts/check.sh — 13 tests passed; Release simulator build succeeded
  • openspec validate add-native-ios-app --strict — passed
  • personal-team archive and codesign verification — passed

Production gate

The D1 migration is committed but has not been applied, and the Worker has not been deployed. Live native account connection remains disabled until that callback/API contract is reviewed and explicitly approved.

@sarthakagrawal927
sarthakagrawal927 marked this pull request as ready for review August 11, 2026 16:17
@sarthakagrawal927
sarthakagrawal927 merged commit 152f3f0 into main Aug 11, 2026
1 check passed
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