Android's WebView shrinks the editor page's visual viewport to the part of the view that is on screen and pans it to reveal the caret while typing. The editor is an auto-height WebView inside the composer's ScrollView, so nothing ever resets that pan: scrolled back to the top, the body is still drawn shifted up by the pan offset and its first lines sit hidden under the header fields until a scroll to the very bottom clamps it away. The page now undoes every pan as it happens (scrolling the page top into view, since window.scrollTo only moves the layout viewport) and reports the offset as a `viewportShift` message; the composer scrolls its ScrollView by the same amount so the caret stays visible. Android only; iOS and the other RichTextEditor hosts keep their behaviour (hosts without the callback still get the reset). Reproduced and verified on a Pixel 4 (Android 13, WebView 153): before, visualViewport.offsetTop stayed at ~18 px at the top of the composer and cut the first line; after, it stays 0 and the caret still follows typing above the keyboard. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Try it
- iPhone and iPad: join the beta on TestFlight: https://testflight.apple.com/join/rumcjNSp. A new release shows up there once Apple has reviewed it, usually within a day.
- Android: download the APK from the latest release.
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
- Android: contacts and calendars sync both ways with the phone's Contacts and Calendar apps (Settings → Contacts / Calendar → Sync to this device)
- In-app sideload updates from GitHub Releases
What's missing or rough
- iOS builds, but push notifications, client certificates and syncing with the phone's contacts and calendars 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 or App Store listing yet: Android is a sideloaded APK, iOS a TestFlight beta (see Try it)
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, with an additional permission to distribute the app through app stores such as the Apple App Store and Google Play. See LICENSE. Contributions are accepted under the same terms. The permission is provisional until every earlier contributor has agreed to it (consent request); contributions made since 30 September 2026 are already covered.