diff --git a/lib/controllers/notification.dart b/lib/controllers/notification.dart index 7996a47..abef40c 100644 --- a/lib/controllers/notification.dart +++ b/lib/controllers/notification.dart @@ -83,6 +83,7 @@ class NotificationController File? icon, String? payload, }) async { + debugPrint("Sending notification for $id"); final notificationDetails = NotificationDetails( android: .new( "messages", diff --git a/lib/controllers/unified_push.dart b/lib/controllers/unified_push.dart index b9af5b2..9575804 100644 --- a/lib/controllers/unified_push.dart +++ b/lib/controllers/unified_push.dart @@ -53,6 +53,7 @@ class UnifiedPushController extends AsyncNotifier { ); }, onMessage: (message, instance) async { + debugPrint("UP message received for $instance"); if (message.decrypted == false) { throw Exception( "Failed to decrypt notification. Try toggling off and on UnifiedPush in settings.",