Bug Fixes
-
Fix pairing screen shown on cold restart from Expo Go (#54, #56)
- Expo Go caches the initial deep link URL — on cold restart, the same
code=from the previous QR scan caused the app to sign out
the valid session and show the pairing screen - Track last redeemed pairing code in SecureStore to skip re-pairing for cached URLs
- Cache auth tokens in SecureStore adapter to recover sessions when Supabase's internal refresh fails on cold start (network not
ready) - Validate
expires_aton sessions returned bygetSession()and refresh expired tokens synchronously - Skip cached token recovery when a new pairing code is present to avoid restoring old sessions during re-pairing
- Expo Go caches the initial deep link URL — on cold restart, the same
-
Fix mobile server setup (f3ad7c5)
- Reset local changes before
git pullin mobile server setup to avoid conflicts
- Reset local changes before
Improvements
- Auto-detect local mobile project in monorepo —
pnpm startfromapps/clinow automatically uses the siblingapps/mobile
directory instead of cloning to~/.clautunnel/repo/, eliminating the need forclautunnel mobile-setupduring development