chore: Follow up fix unified push

krille/upgrade-flutter-3
Christian Pauly 3 years ago
parent 50bb50e3ff
commit 74fa66fbcd

@ -377,6 +377,8 @@ class BackgroundPush {
upAction = true;
final data = Map<String, dynamic>.from(
json.decode(utf8.decode(message))['notification']);
// UP may strip the devices list
data['devices'] ??= [];
await pushHelper(
PushNotification.fromJson(data),
client: client,

Loading…
Cancel
Save