edoctor-sendbird-calls 1.0.1 → 1.0.2
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.
|
@@ -75,6 +75,10 @@ class RNSendBirdCalls: RCTEventEmitter, SendBirdCallDelegate, DirectCallDelegate
|
|
|
75
75
|
HAS_LISTENER = false
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
@objc override static func requiresMainQueueSetup() -> Bool {
|
|
79
|
+
return true
|
|
80
|
+
}
|
|
81
|
+
|
|
78
82
|
@objc func setNativeEvent(_ event: String) {
|
|
79
83
|
DispatchQueue.main.async {
|
|
80
84
|
if !self.jsEvents.contains(event) {
|
|
@@ -2,6 +2,10 @@ import SendBirdCalls
|
|
|
2
2
|
|
|
3
3
|
@objc(RNVSendBirdCallsVideoManager)
|
|
4
4
|
class RNVSendBirdCallsVideoManager: RCTViewManager {
|
|
5
|
+
override static func requiresMainQueueSetup() -> Bool{
|
|
6
|
+
return true
|
|
7
|
+
}
|
|
8
|
+
|
|
5
9
|
override func view() -> UIView! {
|
|
6
10
|
return RNVSendBirdCallsVideo()
|
|
7
11
|
}
|