omikit-plugin 3.2.68 → 3.2.70

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.
@@ -495,10 +495,8 @@ class CallManager {
495
495
 
496
496
  /// Toogle speaker
497
497
  func toogleSpeaker() {
498
- OMIAudioController *audioController = [[OMISIPLib.sharedInstance callManager] audioController];
499
- OMIAudioControllerOutputs newOutput = (audioController.output == OMIAudioControllerOutputSpeaker) ? OMIAudioControllerOutputOther : OMIAudioControllerOutputSpeaker;
500
- [audioController setOutput:newOutput];
501
- self.isSpeaker = newOutput == OMIAudioControllerOutputSpeaker;
498
+ let result = self.omiLib.callManager.audioController.toggleSpeaker();
499
+ self.isSpeaker = result
502
500
  OmikitPlugin.instance.sendSpeakerStatus()
503
501
  }
504
502
 
@@ -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.6"
34
+ s.dependency "OmiKit", "1.8.8"
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.68",
3
+ "version": "3.2.70",
4
4
  "description": "Omikit Plugin by ViHAT",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",