Skip to content

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

ios: enable proximity sensor on the main thread

Saúl Ibarra Corretgé070a34e30d80
diff --git a/ios/sdk/src/Proximity.m b/ios/sdk/src/Proximity.m
index 246a2b3625..6288fb7c89 100644
--- a/ios/sdk/src/Proximity.m
+++ b/ios/sdk/src/Proximity.m
@@ -25,6 +25,10 @@
RCT_EXPORT_MODULE();
+- (dispatch_queue_t)methodQueue {
+ return dispatch_get_main_queue();
+}
+
/**
* Enables / disables the proximity sensor monitoring. On iOS enabling the
* proximity sensor automatically dims the screen and disables touch controls,