mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 00:07:01 +00:00
54b169c6c72fe48e36b228d9629bba9b15efc96d
Every body started as a 120 px strip that grew once the page had measured itself, so an open showed a skeleton, then a clipped strip of the body, then the full body, and the quick reply box below it jumped down as the WebView grew. A conversation arriving after the message swapped the single-message layout for cards, which reloaded the body and pushed it down under a "Loading conversation" row. - `lib/body-heights` remembers the last measured height of each body (per width); a body shown before starts at that height. - A page showing one message stretches its body over the space below the header until it has measured itself, and the quick reply sits at the bottom of the page, so it does not move whether the body turns out shorter or longer. Conversation cards start from an estimate (most of a screen for HTML, the wrapped line count for plain text). - A single message is rendered through the conversation's card list, so its body stays mounted when the conversation arrives; while it loads, the size the folder list knows for it holds the older cards' places, and the loading indicator sits in the subject row. - An open card whose body has not arrived shows its header over placeholder lines, with its reply buttons disabled until it has.
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%