mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
910c503f4a62bd9bad9ebb5903f8c8d4ac853546
The HTML and plain-text body documents had no direction, so an Arabic or Hebrew message was laid out left-to-right: left-aligned, with its sentence-final punctuation on the wrong side. Port the webmail's `dir="auto"` on the body of both documents so the first strong character picks the direction. An email that declares its own `dir` on its `<html>` or `<body>` tag keeps it; the parser merges those attributes into ours only while ours has none. The shrink-to-fit reporter widens its wrapper to the content's natural width and scales it from the top left. In a right-to-left body that over-wide block overflowed to the left instead, so a 600px newsletter scaled into the space left of the screen. A negative right margin now keeps the widened wrapper flush left in either direction, so the existing origin, pan clamp and pinch anchoring still hold.
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 a release APK build see .github/workflows/release-android.yml. For iOS builds and TestFlight distribution see docs/ios-release.md.
License
AGPL-3.0-only. See LICENSE.
Languages
TypeScript
95.9%
Kotlin
2.1%
JavaScript
0.9%
Swift
0.4%
HTML
0.4%
Other
0.2%