File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ import 'auto_close_screen.dart';
28
28
import 'drift/connection/connection.dart' ;
29
29
import 'drift/database.dart' ;
30
30
import 'isar/user.dart' ;
31
- import 'package:supabase_flutter/supabase_flutter.dart' as supabase;
32
- import 'package:sentry_supabase/sentry_supabase.dart' ;
33
31
34
32
// ATTENTION: Change the DSN below with your own to see the events in Sentry. Get one at sentry.io
35
33
const String exampleDsn =
@@ -44,20 +42,7 @@ var _isIntegrationTest = false;
44
42
final GlobalKey <NavigatorState > navigatorKey = GlobalKey <NavigatorState >();
45
43
46
44
Future <void > main () async {
47
- final sentrySupabaseClient = SentrySupabaseClient ();
48
-
49
- await supabase.Supabase .initialize (
50
- url: '<YOUR_SUPABASE_URL>' ,
51
- anonKey: '<YOUR_SUPABASE_ANON_KEY>' ,
52
- httpClient: sentrySupabaseClient,
53
- );
54
-
55
- final supabaseClient = supabase.Supabase .instance.client;
56
- final issues = await supabaseClient
57
- .from ('issues' )
58
- .select ();
59
-
60
- print (issues);
45
+
61
46
62
47
await setupSentry (
63
48
() => runApp (
Original file line number Diff line number Diff line change 1
1
import 'package:sentry_supabase/src/sentry_supabase_error_client.dart' ;
2
+ import 'package:sentry_supabase/src/sentry_supabase_client_error.dart' ;
2
3
import 'package:test/test.dart' ;
3
4
import 'package:sentry/sentry.dart' ;
4
5
import 'package:http/http.dart' ;
You can’t perform that action at this time.
0 commit comments