From db26c250c6d824e382bca3acb7825888df1eb000 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 13 Nov 2019 12:14:45 +0100 Subject: [PATCH] . --- helpers/notification.helpers.js | 5 ----- helpers/push.helper.js | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/helpers/notification.helpers.js b/helpers/notification.helpers.js index fd6110a..8fde4a1 100644 --- a/helpers/notification.helpers.js +++ b/helpers/notification.helpers.js @@ -13,11 +13,6 @@ const createNotification = (data) => { recipients: data.recipients, data: data.data, userId: data.userId, - _displayInForeground: true, - sound: 'default', - android: { - channelId: 'lqdvi-messages' - } } } diff --git a/helpers/push.helper.js b/helpers/push.helper.js index 0d4e71d..a4e201b 100644 --- a/helpers/push.helper.js +++ b/helpers/push.helper.js @@ -15,6 +15,9 @@ const createPushMessage = (data) => { data: data.data, _displayInForeground: true, sound: 'default', + android: { + channelId: 'lqdvi-messages' + } } };