diff --git a/lib/utils/background_push.dart b/lib/utils/background_push.dart index 00ca2aaa..4c6fb465 100644 --- a/lib/utils/background_push.dart +++ b/lib/utils/background_push.dart @@ -377,6 +377,8 @@ class BackgroundPush { upAction = true; final data = Map.from( json.decode(utf8.decode(message))['notification']); + // UP may strip the devices list + data['devices'] ??= []; await pushHelper( PushNotification.fromJson(data), client: client,