feat: Revamp the notification title and content (#8988)

This commit is contained in:
Muhsin Keloth
2024-03-06 20:51:56 +05:30
committed by GitHub
parent 58dd2633ba
commit ef90b7a3d8
4 changed files with 95 additions and 69 deletions

View File

@@ -93,8 +93,8 @@ class Notification::PushNotificationService
def fcm_options
{
notification: {
title: notification.notification_type.titleize,
body: notification.push_message_title,
title: notification.push_message_title,
body: notification.push_message_body,
sound: 'default'
},
android: { priority: 'high' },