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' + } } };