omikit-plugin 3.0.9 → 3.1.0
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
|
@@ -107,7 +107,7 @@ dependencies {
|
|
|
107
107
|
implementation "com.facebook.react:react-native:+" // From node_modules
|
|
108
108
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
109
109
|
// implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
|
110
|
-
api 'vn.vihat.omicall:omi-sdk:2.0.
|
|
110
|
+
api 'vn.vihat.omicall:omi-sdk:2.0.31'
|
|
111
111
|
// implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
112
112
|
// implementation files('OmiSDK.aar')
|
|
113
113
|
implementation "com.google.android.flexbox:flexbox:3.0.0"
|
|
@@ -45,7 +45,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
45
45
|
|
|
46
46
|
override fun incomingReceived(callerId: Int?, phoneNumber: String?, isVideo: Boolean?) {
|
|
47
47
|
isIncomming = true;
|
|
48
|
-
|
|
48
|
+
Log.d("OMISDK", "=>> START IN COMMING CALL REVICED => ")
|
|
49
49
|
val map: WritableMap = WritableNativeMap()
|
|
50
50
|
map.putBoolean("isVideo", isVideo ?: true)
|
|
51
51
|
map.putBoolean("incoming", isIncomming)
|
|
@@ -203,6 +203,7 @@ class OmikitPluginModule(reactContext: ReactApplicationContext?) :
|
|
|
203
203
|
404 -> "SWITCHBOARD_NOT_CONNECTED"
|
|
204
204
|
405 -> "PERMISSION_DENIED"
|
|
205
205
|
406 -> "PERMISSION_DENIED"
|
|
206
|
+
407 -> "COULD_NOT_REGISTER_ACCOUNT"
|
|
206
207
|
else -> "HAVE_ANOTHER_CALL"
|
|
207
208
|
}
|
|
208
209
|
}
|
package/omikit-plugin.podspec
CHANGED