SupabaseS
Supabase4mo ago
gov

Supabase branch API URL/anon key for expo preview build

Hi all, I'm trying to set up a CI/CD flow that coordinates github branches, supabase branch, expo preview build. I have Supabase creating new branches with Github on new PR creation, and I have Expo creating a preview build for that branch, however I'm not able to set the right API URL/anon key as I don't know what it's going to be when it's generated. Is there any way to fetch that information? Is this the right way of approaching this? Ideally, a reviewer would be able to scan the QR code in the PR and test features on the preview branch of the database without affecting any staging/prod data.
Was this page helpful?