disable badge

This commit is contained in:
Ivan Antunes 2024-08-28 11:54:37 -03:00
parent 609c63ea97
commit 156ca69154
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class NotificationService {
channelName: 'Notificações do App', channelName: 'Notificações do App',
channelDescription: 'Canal de notificação do Aplicativo', channelDescription: 'Canal de notificação do Aplicativo',
importance: NotificationImportance.Max, importance: NotificationImportance.Max,
channelShowBadge: true, channelShowBadge: false,
playSound: true, playSound: true,
criticalAlerts: true, criticalAlerts: true,
onlyAlertOnce: true, onlyAlertOnce: true,
@ -339,6 +339,7 @@ class NotificationService {
category: category, category: category,
payload: payload, payload: payload,
bigPicture: bigPicture, bigPicture: bigPicture,
badge: 0,
), ),
actionButtons: actionButtons, actionButtons: actionButtons,
schedule: scheduled schedule: scheduled