@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 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 // For iOS, setting contentAvailable to true makes the message a silent notification
111
+ contentAvailable: true,
112
+ sound: 'default' // added by komal Include the default sound for iOS
110
113
  }
111
114
  }
112
115
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.358",
3
+ "version": "1.0.359",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {