mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
6be51a2bab85aeb0f92675952c4c09caf5d8a8bb
Stalwart 1.0 reads a text filter value that ends in `*` as one prefix over the whole string, not split into words and capped at 16 bytes. The app added `*` to every word it searched for, so on 1.0 `project budget` became the prefix "project* budget", an address was no single word and `Geschäftsführung` (18 bytes) was over the cap: all three found nothing. Quoted phrases broke too, since `"annual report" 2024` went out as one value ending in `*`. The search text now goes out as typed, split the way the webmail does it (5967a1c4): each quoted phrase and each `word*` becomes a condition of its own, ANDed with one condition that holds the other words, so a query without quotes or stars is sent unchanged. The folder, all-folders and tag-view searches, the unified inbox and the from, to, subject and body filters all use it, and `searchEmails` puts `inMailbox` next to the text conditions in one AND instead of on an operator. 0.16's built-in index dropped the `*` anyway, so its results stay the same; there a quoted phrase is an AND of its words. On 1.0 a typed `word*` is now a real prefix. The fake server of the store tests now matches text the way Stalwart's built-in index does, which the old `*` after every word fails.
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
95.9%
Kotlin
2.1%
JavaScript
0.9%
Swift
0.4%
HTML
0.4%
Other
0.2%