mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 00:07:01 +00:00
a86cd1d0eb13e1bf0a030fe4c1dbe77b4f795682
The phone only ever read and wrote Sieve scripts and the vacation responder of the user's own account, and the "Shared with me" list in Account settings said to use the webmail for the rest. Port the webmail's scoped settings (4c6c1aab) for these two panes: - `api/sieve.ts` and `api/vacation.ts` take an optional account id and gate on the account's own `accountCapabilities` for `urn:ietf:params:jmap:sieve` and `urn:ietf:params:jmap:vacationresponse`, treating non-personal accounts as capable because Stalwart doesn't always advertise capabilities on them. Script blobs are uploaded and downloaded against the same account. - Tapping a shared account in Account settings scopes Settings to it: only the Filters and Vacation Responder panes it supports are listed, behind a "Managing: <name>" banner that leads back to the own account. The scope is dropped when the signed-in account changes. - The filter and vacation stores remember which account they hold, reset when it changes and drop replies for an account the user has already left, so one account's rules are never saved into another. - The rule editor offers the managed account's folders as targets, and the "vacation active" banner only shows for the own account.
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%