omikit-plugin 3.2.3 → 3.2.5
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.52'
|
|
108
108
|
|
|
109
109
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
110
110
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
@@ -174,7 +174,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
174
174
|
|
|
175
175
|
override fun onSlowRegister(){
|
|
176
176
|
Log.d("Kds", "MainActivity -> callListener -> onSlowRegister")
|
|
177
|
-
}
|
|
177
|
+
}
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
override fun onVideoSize(width: Int, height: Int) {
|
|
@@ -199,7 +199,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
199
199
|
// 6 -> "REGISTER_ACCOUNT_FAIL"
|
|
200
200
|
// 7 -> "START_CALL_FAIL"
|
|
201
201
|
// 8 -> "START_CALL_SUCCESS"
|
|
202
|
-
// 9 -> "HAVE_ANOTHER_CALL"
|
|
202
|
+
// 9 -> "HAVE_ANOTHER_CALL"et
|
|
203
203
|
200 -> "START_CALL_SUCCESS"
|
|
204
204
|
400 -> "ALREADY_IN_CALL"
|
|
205
205
|
401 -> "INVALID_UUID"
|
|
@@ -218,7 +218,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
218
218
|
reactApplicationContext!!.addActivityEventListener(this)
|
|
219
219
|
Handler(Looper.getMainLooper()).post {
|
|
220
220
|
OmiClient.getInstance(reactApplicationContext!!).addCallStateListener(this)
|
|
221
|
-
OmiClient.getInstance(reactApplicationContext!!).setDebug(
|
|
221
|
+
OmiClient.getInstance(reactApplicationContext!!).setDebug(false)
|
|
222
222
|
OmiClient.isAppReady = true;
|
|
223
223
|
}
|
|
224
224
|
}
|
|
@@ -339,7 +339,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
339
339
|
promise.resolve(loginResult)
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
|
package/omikit-plugin.podspec
CHANGED