This commit is contained in:
Efril
2026-05-07 18:03:41 +07:00
parent dc09aabbe8
commit 842b7a5041
3 changed files with 16 additions and 89 deletions
+7 -2
View File
@@ -67,6 +67,7 @@ class FcmService {
'High Importance Notifications',
description: 'This channel is used for important notifications.',
importance: Importance.high,
playSound: true,
);
await _localNotifications
@@ -146,9 +147,13 @@ class FcmService {
'high_importance_channel',
'High Importance Notifications',
channelDescription: 'This channel is used for important notifications.',
importance: Importance.high,
priority: Priority.high,
importance: Importance.max,
priority: Priority.max,
showWhen: true,
playSound: true,
enableVibration: true,
enableLights: true,
fullScreenIntent: true,
icon: 'ic_notification',
);