@optimiser/common 1.0.358 → 1.0.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/event.js +6 -3
- package/package.json +1 -1
package/dist/lib/event.js
CHANGED
|
@@ -97,16 +97,19 @@ var Event = /** @class */ (function () {
|
|
|
97
97
|
token: userDeviceInfoObj.deviceToken,
|
|
98
98
|
notification: {
|
|
99
99
|
title: notificationDataObj.title,
|
|
100
|
-
body: notificationDataObj.message
|
|
101
|
-
sound: 'default' // added by komal, default sound added for quit mode of app
|
|
100
|
+
body: notificationDataObj.message
|
|
102
101
|
},
|
|
103
102
|
android: {
|
|
103
|
+
notification: {
|
|
104
|
+
sound: 'default' // added by komal Include the default sound for Android
|
|
105
|
+
},
|
|
104
106
|
priority: 'high' // You can set the priority to 'high' or 'normal' for Android
|
|
105
107
|
},
|
|
106
108
|
apns: {
|
|
107
109
|
payload: {
|
|
108
110
|
aps: {
|
|
109
|
-
contentAvailable: true
|
|
111
|
+
contentAvailable: true,
|
|
112
|
+
sound: 'default' // added by komal Include the default sound for iOS
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
},
|