Skip to content

Commit

Permalink
Add logs for notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
JAicewizard committed Oct 29, 2024
1 parent 0329680 commit 08b3ed3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ui/widgets/push_notification_overlay.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:overlay_support/overlay_support.dart';
import 'package:reaxit/routes.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:url_launcher/url_launcher.dart';

class PushNotificationOverlay extends StatelessWidget {
Expand All @@ -17,6 +18,9 @@ class PushNotificationOverlay extends StatelessWidget {
if (uri?.scheme.isEmpty ?? false) uri = uri!.replace(scheme: 'https');
}

// This is just to figure out whats wrong with notifications
Sentry.addBreadcrumb(Breadcrumb(message: 'Message: $message'));

return SafeArea(
child: Card(
child: ListTile(
Expand Down

0 comments on commit 08b3ed3

Please sign in to comment.