Skip to content

Commit

Permalink
re-enable sentry sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism committed Jun 20, 2024
1 parent 16a6557 commit ac4b67b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/catcher_setup.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:io';

/*import 'package:catcher_2/catcher_2.dart';
import 'package:catcher_2/catcher_2.dart';
import 'package:flutter/material.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

Expand Down Expand Up @@ -57,4 +57,4 @@ Catcher2 setupCatcherAndRun(Widget root) {
debugConfig: debugOption,
releaseConfig: releaseOption,
);
}*/
}
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Future<void> main() async {
}

await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
runApp(LanternApp());
setupCatcherAndRun(LanternApp());
}

Future<void> _initGoogleMobileAds() async {
Expand Down
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "8.3.0"
sentry_flutter:
dependency: "direct main"
description:
name: sentry_flutter
sha256: "475cf49682e4d1eb48caa2577502721bcfdcbb63f215de57b3b246d52f4f7914"
url: "https://pub.dev"
source: hosted
version: "8.3.0"
share_plus:
dependency: "direct main"
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies:

#Loogs and crash reporting
catcher_2: ^1.2.4
sentry_flutter: ^8.3.0

badges: ^3.1.1
dotted_border: ^2.0.0+3
Expand Down

0 comments on commit ac4b67b

Please # to comment.