On November 10, 2026 Expo added an EAS CLI command that connects Supabase to an Expo app in one step: it creates the project, installs the SDK and writes keys into every environment. For an MVP this means Postgres, authentication, file storage and realtime in a few minutes. But there is one thing you cannot ship such an app without: Row Level Security. Here is how the integration works and what to do before release.
The facts come from the Expo changelog.
What the command does
You need eas-cli 21.8.0 or newer and a project linked to Expo Services. The eas integrations:supabase:connect command:
- opens the browser once to authorize Supabase, asks for an organization and region, and creates the project;
- installs
@supabase/supabase-jsandexpo-sqliteand adds the expo-sqlite config plugin; - writes
EXPO_PUBLIC_SUPABASE_URLandEXPO_PUBLIC_SUPABASE_PUBLISHABLE_KEYto.env.localand to Expo environment variables for Production, Preview and Development.
Local development, builds and updates all read the same values. If you already have a Supabase project, connect it with --link. Rerunning is safe: the command reuses what it created and asks before replacing anything. In CI, after a one-time browser authorization, it runs without prompts using --non-interactive.
Who owns the project
The project is created in your own Supabase organization: the data and the bill are yours. Expo keeps an encrypted token so the CLI can act on your behalf; you can revoke it in Supabase or with eas integrations:supabase:disconnect. Expo generates a random database password, hands it to you and keeps no copy. If you later need psql or migrations, reset the password in the Supabase dashboard.
The key point: RLS
Both values the command writes are public: they are bundled into the app and anyone can extract them from a build. Expo states plainly that Row Level Security is what protects the data. Without RLS and policies, anyone with the publishable key can query your tables directly, bypassing the app.
What to do before the first release:
- Enable RLS on every table the app reads or writes.
- Write separate policies for select, insert, update and delete. The usual approach is access only to rows whose owner matches the current user's ID.
- Test the policies with requests as another user and while signed out.
- Never put Supabase secret keys with full access into the app: they belong only on the server or in edge functions.
A separate backend per environment
At first all three environments share one project. That is convenient for an MVP but risky: a test build writes to production data. Running eas integrations:supabase:connect --environment preview creates a separate project for Preview, so a preview build can never change production. We recommend doing this before the app gets its first real users.
Sessions and native modules
The client snippet in the docs stores the session in expo-sqlite, so users stay signed in between launches with no AsyncStorage and no custom adapter. Everything works in Expo Go. You need a development build once you pass options to the expo-sqlite plugin or add other native libraries.
Local development
The app reads .env.local, so switching to a local database is a two-line change. npx supabase init and npx supabase start bring up Postgres, auth and Studio on your machine without a Supabase account. Take the URL and key from supabase status, and create your tables in Studio at 127.0.0.1:54323, since the local database starts empty. Local work does not count against the two active projects on the Supabase Free plan.
MVP checklist for Expo + Supabase
- eas-cli 21.8.0+,
eas integrations:supabase:connect. - RLS enabled on all tables, policies tested as different users.
- A separate Supabase project for Preview.
- Database schema and policies kept as migrations in the repository, not only in the dashboard.
- A local stack for development so experiments never touch cloud data.
- Before release, check your Supabase plan and the Free plan limits.
Conclusion
The Expo and Supabase integration removes the manual backend and environment variable setup: from an empty project to the first database query takes minutes. It is a good start for an MVP. A fast start does not cancel security, though: a public key in the app is fine only when RLS and policies really restrict access. Set them up, together with a separate Preview environment, before real data arrives in the app.



