omikit-plugin 3.1.6 → 3.1.7

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.
@@ -104,7 +104,7 @@ dependencies {
104
104
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
105
105
  //noinspection GradleDynamicVersion
106
106
  // implementation "com.facebook.react:react-native"
107
- api 'vn.vihat.omicall:omi-sdk:2.0.39'
107
+ api 'vn.vihat.omicall:omi-sdk:2.0.43'
108
108
 
109
109
  implementation "com.facebook.react:react-native:+" // From node_modules
110
110
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -172,6 +172,11 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
172
172
  sendEvent(SWITCHBOARD_ANSWER, map)
173
173
  }
174
174
 
175
+ override fun onSlowRegister(){
176
+ Log.d("Kds", "MainActivity -> callListener -> onSlowRegister")
177
+ }
178
+
179
+
175
180
  override fun onVideoSize(width: Int, height: Int) {
176
181
 
177
182
  }
@@ -376,9 +376,11 @@ class CallManager {
376
376
  "_id": "",
377
377
  "message": self.messageCall(type: status.rawValue)
378
378
  ]
379
- if(callCurrent != nil){
380
- dataToSend["_id"] = String(describing: OmiCallModel(omiCall: callCurrent!).uuid)
381
- }
379
+
380
+ if(callCurrent != nil){
381
+ dataToSend["_id"] = String(describing: OmiCallModel(omiCall: callCurrent!).uuid)
382
+ }
383
+
382
384
  if let jsonString = self.convertDictionaryToJson(dictionary: dataToSend) {
383
385
  completion(jsonString)
384
386
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.1.6",
3
+ "version": "3.1.7",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",