mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
15 lines
354 B
Dart
15 lines
354 B
Dart
import 'package:supabase_flutter/supabase_flutter.dart';
|
|
|
|
import 'utils/constants.dart';
|
|
|
|
void configureApp() {
|
|
// init Supabase singleton
|
|
// no localStorage provided, fallback to use shared_preferences
|
|
Supabase.initialize(
|
|
url: supabaseUrl,
|
|
anonKey: supabaseAnnonKey,
|
|
authCallbackUrlHostname: 'login-callback',
|
|
debug: true,
|
|
);
|
|
}
|