Skip to content

Commit 1994997

Browse files
authored
fix(ios): do not show notifications when in foreground (#209)
1 parent 0e9cd9e commit 1994997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push-notifications/ios/Plugin/PushNotificationsHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class PushNotificationsHandler: NSObject, NotificationHandlerProtocol {
4949
return presentationOptions
5050
}
5151

52-
return [.badge, .sound, .alert]
52+
return []
5353
}
5454

5555
public func didReceive(response: UNNotificationResponse) {

0 commit comments

Comments
 (0)