Skip to content

Commit 21c684d

Browse files
committed
Fix missing badge in silent notification payload with no aps.alert
1 parent 1d5f6b2 commit 21c684d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/src/notification.ios.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ export default class IOSNotification {
2424
this._type = 'managed';
2525
this._thread = notification.aps.thread;
2626
} else if (
27-
notification.aps &&
28-
notification.aps.alert) {
27+
notification.aps) {
2928
// regular notification
3029
this._alert = notification.aps.alert;
3130
this._sound = notification.aps.sound;

0 commit comments

Comments
 (0)