Skip to content

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

fix(ios) disable CallKit when running in the simulator

Saúl Ibarra Corretgéca60c33dda26
diff --git a/ios/app/src/AppDelegate.m b/ios/app/src/AppDelegate.m
index 634c199ea4..c3384b163a 100644
--- a/ios/app/src/AppDelegate.m
+++ b/ios/app/src/AppDelegate.m
@@ -39,6 +39,11 @@
[builder setFeatureFlag:@"ios.screensharing.enabled" withBoolean:YES];
[builder setFeatureFlag:@"ios.recording.enabled" withBoolean:YES];
builder.serverURL = [NSURL URLWithString:@"https://meet.jit.si"];
+#if TARGET_IPHONE_SIMULATOR
+ // CallKit has started to create problems starting with the iOS 16 simulator.
+ // Disable it since it never worked in the simulator anyway.
+ [builder setFeatureFlag:@"call-integration.enabled" withBoolean:NO];
+#endif
}];
[jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];