fix fcm
This commit is contained in:
@@ -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',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user