Mobile app
An end-to-end encrypted messenger for Android and iOS with its own backend, built for a client.
Problem
The client wanted a messenger in the class of WhatsApp or Signal that runs on their own server: no third-party chat platform, no per-user fees, and room for a business layer later.
Solution
A Flutter app with a Spring Boot backend. End-to-end encryption uses the Olm and Megolm protocols through the vodozemac Rust library, wrapped in a Flutter package with flutter_rust_bridge. Device trust, key rotation and encrypted key backup are built in, and messages are kept in an encrypted local database.
The app supports one-to-one and group chats, view-once messages, voice messages, media and link previews, contact discovery, presence, and delivery and read receipts. Sign-in is by SMS or voice code, the app can be locked with Face ID or a fingerprint, and push notifications go through Firebase Cloud Messaging. The backend uses PostgreSQL, WebSocket and MinIO object storage.
Stack
- Flutter
- Rust
- Spring Boot
- PostgreSQL
- WebSocket
- MinIO
- Firebase Cloud Messaging
Result
The first two stages are delivered and run on the client's own server. Android builds are distributed by the client with a forced-update check, and the full source code belongs to the client.