omikit-plugin 3.1.6 → 3.1.8
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/android/build.gradle
CHANGED
|
@@ -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.
|
|
107
|
+
api 'vn.vihat.omicall:omi-sdk:2.0.45'
|
|
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
|
-
|
|
380
|
-
|
|
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 {
|