Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Revert "chore(ios/sdk): source proxy bridge from ExternalAPI"

Calin-Teodorf7fea61b30a0
diff --git a/ios/sdk/src/JitsiMeet+Private.h b/ios/sdk/src/JitsiMeet+Private.h
index b61c437564..3affeaeb77 100644
--- a/ios/sdk/src/JitsiMeet+Private.h
+++ b/ios/sdk/src/JitsiMeet+Private.h
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-#import <React/RCTBridge.h>
#import <RCTReactNativeFactory.h>
#import "ExternalAPI.h"
diff --git a/ios/sdk/src/JitsiMeet.m b/ios/sdk/src/JitsiMeet.m
index e44e8d330a..eab930ea52 100644
--- a/ios/sdk/src/JitsiMeet.m
+++ b/ios/sdk/src/JitsiMeet.m
@@ -274,10 +274,8 @@
}
- (ExternalAPI *)getExternalAPI {
- // The live RCTBridgeProxy is injected into every
- // RCTEventEmitter module by the interop layer, so source it from a there.
- RCTBridge *bridge = [ExternalAPI sharedInstance].bridge;
- return (ExternalAPI *)[bridge moduleForClass:ExternalAPI.class];
+ ExternalAPI *api = [ExternalAPI sharedInstance];
+ return api;
}
@end