AI coding guides & resources
Engineering decisions, tutorials, and video guides from the OTF team.
Expo push notifications arrive reliably when tokens, receipts, and retries are wired right
Expo push tokens expire, receipts fail silently, and retries need a queue. A production pattern for notifications that arrive.
9 min readCrash triage that ships fixes: read every Sentry issue like a release engineer
Your Sentry inbox fills faster than you fix. This triage workflow turns issue states, release tags, and grouping into a fix order that ships weekly.
8 min readFeature flags let AI-built apps ship boldly and roll back instantly
Every AI feature needs a kill switch and a rollout dial. Here is the flag pattern that keeps production surprises reversible.
8 min readExpo config plugins that stop native drift: authoring and prebuild discipline
Author Expo config plugins that survive prebuild: mod ordering, idempotent plugins, CNG discipline, and a debug order for native drift.
6 min readCursor rules that keep mobile repos shippable under production pressure
Write scoped Cursor rules for Expo and React Native repos that protect routing, data, and native boundaries in production.
6 min readVercel cron jobs that keep mobile backends fast and reliable
Run Vercel cron jobs for cleanup, sync, and push fan-out so your mobile backend stays fast while users sleep.
7 min readSupabase realtime keeps mobile presence honest without polling your database dead
Stop polling your database from mobile clients. Supabase Realtime patterns for presence, live rows, and reconnects that survive the OS.
7 min readDefend your AI features against prompt injection: production patterns that hold
Untrusted input reaches your model from everywhere: delimit it, constrain the tools, validate the output, and keep a human on the dangerous path.
5 min readOne crashing screen should not kill the app: error boundaries that hold
A bad render in one corner should not blank the whole app. Here is where to place boundaries, log, and recover.
9 min readSupabase Row Level Security keeps AI-built mobile data safe from day one
Your anon key ships in the app bundle. Row Level Security is what stops strangers reading other users' rows.
9 min readDeep links that open the right screen: production checklist for Expo apps
Cold starts, expired sessions, and pasted links break deep links. The Expo setup that routes every link right.
9 min readShip privacy labels you can defend: data honesty for AI-built apps
Your store listing answers for your data practices: audit every SDK, declare every collection, and fill both privacy forms without guessing.
6 min readPrice your AI-built app honestly: the ownership math that keeps you shipping
Add up what an AI-built app really costs to run: stores, payments, backend, and the rebuild bill — then keep every line item under your control.
6 min readRevenueCat paywalls in Expo apps work when entitlements own the gating logic
Add subscriptions to your Expo app without hand-rolling StoreKit: dev builds, entitlements, and review-safe paywalls.
8 min readExpo SQLite offline cache keeps AI-built apps usable when signal drops
Signal drops in lifts and metros. A local SQLite cache keeps reads instant and queues writes for sync.
8 min readExpo Router auth guards that survive expired sessions and deep links
Stop logged-out flashes and dead deep links: Expo Router guard layout with refresh-safe session checks, protected groups, and cold-start redirects.
8 min readPreview deployments keep AI coding agents honest before merge
Every AI agent PR gets a live preview URL. Here is the five-minute check that catches broken agent output before merge.
8 min readSupabase Edge Functions carry the mobile backend logic your client should never hold
Move secrets, webhooks, and quota checks into Supabase Edge Functions for a thinner Expo client.
8 min readFlashList v2 earns its place in every production React Native feed
FlashList v2 is new-architecture-only with view recycling and no size estimates. This migration checklist keeps your production feeds smooth.
7 min readThe eject button myth: exporting your AI-built app does not save it
The eject button is real but it will not save you: what exported AI-built code actually contains, and the drill that proves it.
6 min readChoose a starter kit once: the six checks that prevent a full rewrite later
A six-gate selection procedure that keeps your starter kit from becoming a full rewrite three months later.
7 min readStay signed in: Supabase Auth session persistence in Expo apps
End random logouts after restart: SecureStore session storage, background refresh, OAuth redirect wiring, and sign-out that actually clears.
8 min readSupabase auth hardening checklist that keeps production sign-in safe
Harden production auth: redirects, row-level policies, server-only keys, session tests, and an attacker-style checklist.
8 min readOffline-first mutation queue keeps Expo apps working when the network drops
An outbox-pattern mutation queue with retries and restart-safe persistence keeps your Expo app correct on flaky networks. Here is the production setup.
7 min read