mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
chore: Always show notification popup on android
This commit is contained in:
parent
d4f20cfb78
commit
2f1720a770
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@ Future<void> pushHelper(
|
||||||
ticker: l10n.unreadChats(notification.counts?.unread ?? 1),
|
ticker: l10n.unreadChats(notification.counts?.unread ?? 1),
|
||||||
importance: Importance.max,
|
importance: Importance.max,
|
||||||
priority: Priority.max,
|
priority: Priority.max,
|
||||||
|
fullScreenIntent: true, // To show notification popup
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -242,6 +243,7 @@ Future<void> _tryPushHelper(
|
||||||
importance: Importance.max,
|
importance: Importance.max,
|
||||||
priority: Priority.max,
|
priority: Priority.max,
|
||||||
groupKey: notificationGroupId,
|
groupKey: notificationGroupId,
|
||||||
|
fullScreenIntent: true, // To show notification popup
|
||||||
);
|
);
|
||||||
const iOSPlatformChannelSpecifics = DarwinNotificationDetails();
|
const iOSPlatformChannelSpecifics = DarwinNotificationDetails();
|
||||||
final platformChannelSpecifics = NotificationDetails(
|
final platformChannelSpecifics = NotificationDetails(
|
||||||
|
|
Loading…
Reference in a new issue