app framework
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import Constants from 'expo-constants';
|
||||
import { createClient } from '@supabase/supabase-js';
|
||||
|
||||
const supabaseUrl =
|
||||
Constants.expoConfig?.extra?.supabaseUrl ?? 'https://your-project.supabase.co';
|
||||
const supabaseAnonKey =
|
||||
Constants.expoConfig?.extra?.supabaseAnonKey ?? 'your-anon-key';
|
||||
|
||||
// Replace the fallback values above with environment-backed Expo config
|
||||
// when you wire the project to a real Supabase instance.
|
||||
export const supabase = createClient(supabaseUrl, supabaseAnonKey);
|
||||
|
||||
Reference in New Issue
Block a user