From 81708f92a8b02300111cf78fdaf5b949bb821752 Mon Sep 17 00:00:00 2001 From: "A. Verde" <92055616+alexverde@users.noreply.github.com> Date: Mon, 8 Nov 2021 07:02:07 +0100 Subject: [PATCH] chore: Fcm notification priority (#3319) --- app/services/notification/push_notification_service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/notification/push_notification_service.rb b/app/services/notification/push_notification_service.rb index 9c45ee74b..f425f36b2 100644 --- a/app/services/notification/push_notification_service.rb +++ b/app/services/notification/push_notification_service.rb @@ -97,6 +97,7 @@ class Notification::PushNotificationService body: notification.push_message_title, sound: 'default' }, + android: { priority: 'high' }, data: { notification: notification.fcm_push_data.to_json }, collapse_key: "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}" }