PLANOMADPLANOMAD’s products share one Rust core for accounts, purchases, sync and on-device storage. Each product adds its own rules and screens.
Passkey sign-in, purchases, sync and usage data are handled by one Rust crate. It allows no unsafe code and treats compiler warnings as errors.
Screens are built with React Native. The Rust engine is built into the app and called synchronously through Nitro Modules. Animations use Reanimated, and some graphics use Skia.
Personal records are saved to SQLite on the device first, then sent to the server. Each write carries the revision it started from, so conflicts can be detected. Data that several people use together is settled on the server.
The server checks purchases with Apple and Google. Access to data is controlled row by row with Postgres row-level security.