Workspacebook Mobile Flutter

Create a `.env` file at the root of your project and add the following variables:

flutter mobile dart
View Source

Workspacebook Mobile Flutter

🔐 Environment Variables Configuration

Create a .env file at the root of your project and add the following variables:

SUPABASE_URL=
SUPABASE_ANON_KEY=
SUPABASE_REDIRECT_URL=

Description:

  • SUPABASE_URL The base URL of your Supabase project. 📍 Found in: Project Settings → API → Project URL

  • SUPABASE_ANON_KEY The public anonymous API key used to access Supabase from the frontend. 📍 Found in: Project Settings → API → anon public

  • SUPABASE_REDIRECT_URL The redirect URL used after login or OAuth sign-in (e.g., Google Sign-In). 📍 Set in: Authentication → URL Configuration → Site URL Example (for local development):