omikit-plugin 3.2.65 → 3.2.67

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.
@@ -120,7 +120,7 @@ dependencies {
120
120
  // use for OMISDK
121
121
  implementation("androidx.work:work-runtime:2.8.1")
122
122
  implementation "androidx.security:security-crypto:1.1.0-alpha06"
123
- api 'vn.vihat.omicall:omi-sdk:2.3.16'
123
+ api 'vn.vihat.omicall:omi-sdk:2.3.19'
124
124
 
125
125
  implementation "com.facebook.react:react-native:+" // From node_modules
126
126
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -4,4 +4,4 @@ OmikitPlugin_targetSdkVersion=33
4
4
  OmikitPlugin_compileSdkVersion=33
5
5
  OmikitPlugin_ndkversion=21.4.7075529
6
6
  OMI_USER=omicall
7
- OMI_TOKEN=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
7
+ OMI_TOKEN=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
@@ -42,7 +42,6 @@ class CallManager {
42
42
  var result = false;
43
43
  do {
44
44
  if let callInfo = self.omiLib.getCurrentConfirmCall() {
45
- dump(callInfo)
46
45
  if callInfo.callState != .disconnected {
47
46
  callInfo.blindTransferCall(withNumber: phoneNumber);
48
47
  result = true
@@ -51,7 +50,6 @@ class CallManager {
51
50
  } catch let error {
52
51
  print("ERROR_WHEN_TRANSFER_CALL_IOS: ", error)
53
52
  }
54
- print("calllZiii 2 ==> \(result)")
55
53
  return result
56
54
  }
57
55
 
@@ -335,7 +333,7 @@ class CallManager {
335
333
  if (videoManager == nil && call.isVideo) {
336
334
  videoManager = OMIVideoViewManager.init()
337
335
  }
338
- isSpeaker = call.isVideo
336
+ isSpeaker = call.speaker
339
337
  lastStatusCall = "answered"
340
338
  OmikitPlugin.instance.sendMuteStatus()
341
339
  break
@@ -517,7 +515,7 @@ class CallManager {
517
515
  func getCurrentAudio() -> [[String: String]] {
518
516
  return OmiClient.getCurrentAudio()
519
517
  }
520
-
518
+
521
519
  //video call
522
520
  func toggleCamera() {
523
521
  if let videoManager = videoManager {
@@ -31,7 +31,7 @@ Pod::Spec.new do |s|
31
31
 
32
32
  # Thêm dependency bắt buộc
33
33
  s.dependency "React-Core"
34
- s.dependency "OmiKit", "1.8.4"
34
+ s.dependency "OmiKit", "1.8.5"
35
35
 
36
36
  # Đảm bảo Swift bridging header được tự động tạo
37
37
  # s.requires_arc = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omikit-plugin",
3
- "version": "3.2.65",
3
+ "version": "3.2.67",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",