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.
@@ -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.28'
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
- Log.d("OMISDK", "=>> START IN COMMING CALL REVICED => ")
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
  }
@@ -32,5 +32,5 @@ Pod::Spec.new do |s|
32
32
  s.dependency "RCTTypeSafety"
33
33
  s.dependency "ReactCommon/turbomodule/core"
34
34
  end
35
- s.dependency "OmiKit", '1.5.83'
35
+ s.dependency "OmiKit", '1.5.85'
36
36
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.0.9",
3
+ "version": "3.1.0",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",