chore: Fcm notification priority (#3319)
This commit is contained in:
parent
97ee1bfa97
commit
81708f92a8
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ class Notification::PushNotificationService
|
||||||
body: notification.push_message_title,
|
body: notification.push_message_title,
|
||||||
sound: 'default'
|
sound: 'default'
|
||||||
},
|
},
|
||||||
|
android: { priority: 'high' },
|
||||||
data: { notification: notification.fcm_push_data.to_json },
|
data: { notification: notification.fcm_push_data.to_json },
|
||||||
collapse_key: "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}"
|
collapse_key: "chatwoot_#{notification.primary_actor_type.downcase}_#{notification.primary_actor_id}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue