diff --git a/lib/src/notification.ios.js b/lib/src/notification.ios.js index 39ee60c1c80f81a3c950d012c716752332d15afd..0d9b58a35a583e1bdf1e1da02690d667cddc97e0 100644 --- a/lib/src/notification.ios.js +++ b/lib/src/notification.ios.js @@ -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;