Expo’s EAS CLI can set up Supabase with one command
Brief
Expo’s EAS CLI can now connect an app to Supabase in one command, handling project creation, SDK installation, and environment keys.
Setup and environments
- Run
eas integrations:supabase:connectin an Expo project linked to Expo; it creates a Supabase project, installs the SDK, and writes keys to Production, Preview, and Development. - Add
--environment previewto give Preview its own Supabase project and keys, keeping preview builds and updates separate from production data. - Development can point to a local Supabase stack. The integration requires eas-cli 21.8.0 or newer.
Build-time findings
- Supabase Security and Performance Advisors run from the EAS CLI, with findings shown in the Expo build dashboard alongside the relevant build logs.
Generated by AI from the original article. Check the source for full details.