omikit-plugin 3.2.35 → 3.2.36

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.
@@ -273,6 +273,8 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
273
273
  val audioNotificationDescription = data?.getString("audioNotificationDescription") ?: ""
274
274
  val videoNotificationDescription = data?.getString("videoNotificationDescription") ?: ""
275
275
  val displayNameType = data?.getString("displayNameType") ?: ""
276
+ val appRepresentName = data?.getString("representName") ?: ""
277
+
276
278
 
277
279
  OmiClient.getInstance(reactApplicationContext!!).configPushNotification(
278
280
  showMissedCall = true,
@@ -289,7 +291,8 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
289
291
  missedChannelId = "${channelId}-missed",
290
292
  missedChannelName = "Cuộc gọi nhỡ",
291
293
  displayNameType = userNameKey ?: "full_name",
292
- notificationMissedCallPrefix = prefixMissedCallMessage ?: "Cuộc gọi nhỡ từ"
294
+ notificationMissedCallPrefix = prefixMissedCallMessage ?: "Cuộc gọi nhỡ từ",
295
+ representName= appRepresentName ?: ""
293
296
  )
294
297
  promise.resolve(true)
295
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.35",
3
+ "version": "3.2.36",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",