mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 08:06:13 +00:00
29169c3426199b0a6b478ab830cfdcdf9d16e658
zustand only marks a persisted store hydrated when its storage read succeeds, and `restoreSession` waited on the account, email, calendar and contacts stores with no timeout. A read that failed, such as an email-cache row too large for Android's ~2 MB CursorWindow or a row that no longer parses, left the app on the splash screen for good. - the four stores now use `createPersistStorage` (`src/stores/persist-storage.ts`), whose read logs the failure and resolves as nothing stored, so the store hydrates with its defaults and its next write replaces the bad row - `waitForHydration` gives up after `HYDRATION_TIMEOUT_MS` (5 s) and carries on, covering a hydration that throws in migrate/merge or a storage call that never settles
Bulwark Mobile
Beta - work in progress. Many features are unfinished or rough. Expect bugs, missing functionality, and breaking changes between releases. Do not rely on this for primary email yet.
React Native (Expo SDK 54) client for Bulwark Webmail - a JMAP-based mail, calendar, and contacts app.
What works today
- Sign in to any JMAP server (e.g. Stalwart)
- Multiple accounts
- Email list, threads, compose
- Calendar (basic)
- Contacts (basic)
- Push notifications via the Bulwark relay - FCM by default, or UnifiedPush (e.g. ntfy) for devices without Google Play services
- In-app sideload updates from GitHub Releases
What's missing or rough
- iOS builds, but push notifications and client certificates are Android-only so far
- S/MIME, plugins, themes - UI stubs only (filters & rules, the vacation responder and file storage are real implementations)
- Calendar editing is partial; contacts editing is basic
- No Play Store distribution yet (sideload APK from Releases); iOS ships via TestFlight
Run locally
npm install
npx expo start
Then press a for Android, i for iOS, or scan the QR with Expo Go.
For release APK builds and signing see docs/android-release.md. For iOS builds and TestFlight distribution see docs/ios-release.md.
License
AGPL-3.0-only. See LICENSE.
Languages
TypeScript
96%
Kotlin
2.1%
JavaScript
0.9%
Swift
0.4%
HTML
0.3%
Other
0.2%