From 2f1720a7705fc609f2d73ba9306d12c492a8e99f Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 26 Nov 2023 11:52:19 +0100 Subject: [PATCH] chore: Always show notification popup on android --- lib/utils/push_helper.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 12b34871..1e7d5f82 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -59,6 +59,7 @@ Future pushHelper( ticker: l10n.unreadChats(notification.counts?.unread ?? 1), importance: Importance.max, priority: Priority.max, + fullScreenIntent: true, // To show notification popup ), ), ); @@ -242,6 +243,7 @@ Future _tryPushHelper( importance: Importance.max, priority: Priority.max, groupKey: notificationGroupId, + fullScreenIntent: true, // To show notification popup ); const iOSPlatformChannelSpecifics = DarwinNotificationDetails(); final platformChannelSpecifics = NotificationDetails(