Supabase Dev/Prod Environment

Project Settings

How can I set a dynamic Supabase API URL?

We have separate dev and prod API URLs, but it seems I can only provide one in the current setup.

We push our code to GitHub, and then deploy it to both dev and prod environments. I'd like to add a condition where the app uses the dev API if the URL contains "dev", and otherwise, it uses the prod API. How can I achieve this in FlutterFlow?

What have you tried so far?

Even in the api calls section also, I have not found any ways to add the url from a custom function.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
6 replies