From d28f794fedc8e8d1b505032ec01a72fe16d4efff Mon Sep 17 00:00:00 2001 From: inpt333 Date: Wed, 1 Jan 2025 18:24:57 +0100 Subject: [PATCH] chore: disable sentry locally --- lib/main.dart | 4 +++- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index fbc7e51..d4ee586 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -64,7 +64,9 @@ Future main() async { .uriLinkStream .listen((uri) => store.dispatch(HandleDeeplinkAction(uri.path))); - initSentry(() => runApp(ParApp(store: store))); + kReleaseMode + ? initSentry(() => runApp(ParApp(store: store))) + : runApp(ParApp(store: store)); } Future> _initStore(SupabaseClient supabase) async { diff --git a/pubspec.yaml b/pubspec.yaml index b9bb04a..f68df0b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -190,7 +190,7 @@ sentry: upload_debug_symbols: true upload_source_maps: true upload_sources: true - project: flutter + project: grup org: sealambda log_level: error commits: auto