Skip to content

feat: prepare mobile pilot builds and push notifications - #109

Merged
ankitsejwal merged 17 commits into
mainfrom
ankitsejwal/lucidity-unfinished-work
Oct 2, 2026
Merged

ankitsejwal merged 17 commits into
mainfrom
ankitsejwal/lucidity-unfinished-work

Conversation

@ankitsejwal

@ankitsejwal ankitsejwal commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

OpenSociety now has its own EAS project, reproducible native build profiles, and push delivery for visitor events, notices, parking alerts, and maintenance reminders. This advances Lucidity tasks #10, #15, #27, #34, #56, and #65 now that both developer memberships are available.

  • Configure development, simulator, preview, TestFlight, and Play internal builds; validate release environment values; refresh Expo 57 dependencies; add a manual GitHub build workflow. The repository Expo secret is configured.
  • Add authenticated device registration, migration 0023, a durable delivery outbox, Expo tickets/receipts, bounded retries, account ownership checks, and delayed queue wake-ups that stop when idle.
  • Register/revoke mobile tokens and handle notification taps. Add tower-targeted notice previews, guard-triggered blocked/towed alerts, and configurable society reminder schedules with paid-bill checks.
  • Reject development identity headers whenever Clerk is configured.

Validation: root build, type checks, lint, and tests pass (414 API tests, including eight PostgreSQL integration scenarios; existing web/shared tests and mobile build-environment tests also pass). Expo Doctor passes 21/21; mobile exports for iOS, Android, and web; Wrangler 4 dry-run bundling passes. Existing four web Fast Refresh warnings remain.

Native setup builds passed on Android and the iOS simulator. Final builds including the notification module also passed: Android, iOS simulator.

The final iOS artifact was installed and launched in a fresh iPhone 17 Pro simulator (iOS 26.5), with the home screen loaded against local Metro. Physical-device notification delivery remains unverified.

Push remains disabled by default. Before pilot acceptance: provision OpenSociety app records and APNs/FCM credentials; resolve the Apple API key's 403 on bundle-ID creation and app-scoped Play publishing access; reconcile the planned DigitalOcean hosting adapter; deploy the public API with live Clerk configuration; apply migration 0023 and provision the queue bindings; verify delivery on physical devices. No production migration, deployment, or store submission has been performed.

The commits separate auth, dependency changes, delivery infrastructure, each feature, and validation. Most of the diff volume is the generated Drizzle snapshot and dependency lockfile.

@ankitsejwal
ankitsejwal marked this pull request as ready for review October 2, 2026 12:50
@ankitsejwal
ankitsejwal merged commit c375445 into main Oct 2, 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