omikit-plugin 3.2.34 → 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.
@@ -103,7 +103,7 @@ dependencies {
103
103
  // use for OMISDK
104
104
  implementation("androidx.work:work-runtime:2.8.1")
105
105
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
106
- api 'vn.vihat.omicall:omi-sdk:2.2.80'
106
+ api 'vn.vihat.omicall:omi-sdk:2.2.82'
107
107
 
108
108
  implementation "com.facebook.react:react-native:+" // From node_modules
109
109
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -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.34",
3
+ "version": "3.2.36",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",