5 min read
Backend context for an AI coding agent in React Native
A React Native repo shows an agent only the client. Add a project file, a typed API contract, a local backend and read-only tools for safer backend changes.
7 articles from the Edict blog cover mobile backend architecture. The newest comes first.
5 min read
A React Native repo shows an agent only the client. Add a project file, a typed API contract, a local backend and read-only tools for safer backend changes.
8 min read
Agents make safer backend changes with declarative config, schemas as contracts, MCP tools, dry runs, reviewed migrations and least-privilege credentials.
7 min read
Run mobile reminders and background work using a Postgres queue, SKIP LOCKED, idempotency keys, backoff retries, time zone handling and metrics.
9 min read
Old app versions stay installed for years. Use expand and contract migrations, additive API changes, minimum versions and feature flags to change safely.
8 min read
Give free and paid users different AI limits by routing model calls through your own gateway, metering usage in Postgres, and never embedding a key in the app.
9 min read
Model users, devices, tokens, and preferences as separate records, handle token invalidation and quiet hours, and send idempotently across APNs and FCM.
9 min read
A mobile app should not decide on the device what a user paid for. Verify purchases on a server and keep entitlements in a table fed by store notifications.