mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 00:07:01 +00:00
d98793003467d7bc341c644f02c25fec1d3b5421
Opening a folder, searching or loading more took three sequential round trips: `Email/query`, then `Email/get` of its ids, then a `Thread/get` the list screen fired after rendering to size the conversation badges. - `queryEmailPage` sends all three in one request, chaining `Email/get` to the query's `/ids` and `Thread/get` to the fetched messages' `/list/*/threadId` (left out while threading is off). The page is capped at `maxObjectsInGet` so the chained get can't be refused, and a failed `Thread/get` keeps the page. - The full refresh, search and load-more use it; load-more no longer needs its own chunked `Email/get`. - The thread sizes now live in the email store (`threadCounts`, cleared on folder or account change) and the list screen reads them instead of fetching them itself. Rows restored from a snapshot or added by an incremental refresh get theirs with one `Thread/get` after the refresh. - The chained `Email/get` also reports the Email state for an empty folder, so that list gets its own `Email/changes` baseline.
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%