[FIX] Stop showing native push notification when in foreground (#4059)

This commit is contained in:
Diego Mello 2022-04-14 15:24:04 -03:00 committed by GitHub
parent e28f7ac4b6
commit 397cd3d9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class PushNotification {
Notifications.events().registerNotificationReceivedForeground( Notifications.events().registerNotificationReceivedForeground(
(notification: Notification, completion: (response: NotificationCompletion) => void) => { (notification: Notification, completion: (response: NotificationCompletion) => void) => {
completion({ alert: true, sound: true, badge: false }); completion({ alert: false, sound: false, badge: false });
} }
); );