Commit 21c684db authored by yogevbd's avatar yogevbd

Fix missing badge in silent notification payload with no aps.alert

parent 1d5f6b2d
......@@ -24,8 +24,7 @@ export default class IOSNotification {
this._type = 'managed';
this._thread = notification.aps.thread;
} else if (
notification.aps &&
notification.aps.alert) {
notification.aps) {
// regular notification
this._alert = notification.aps.alert;
this._sound = notification.aps.sound;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment