From 28cd74077b95ccd8844ff48152340885154f488a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 15 Dec 2020 15:39:21 +0100 Subject: [PATCH] fix(ios) fix joining a meeting when the app was closed Weird timing issue in appDidFinishLaunching, make sure we store the launchOptions before we touch any view code. --- ios/app/src/AppDelegate.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/app/src/AppDelegate.m b/ios/app/src/AppDelegate.m index 71a13e00f..c9b084bae 100644 --- a/ios/app/src/AppDelegate.m +++ b/ios/app/src/AppDelegate.m @@ -45,6 +45,8 @@ #endif }]; + [jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions]; + // Initialize Crashlytics and Firebase if a valid GoogleService-Info.plist file was provided. if ([FIRUtilities appContainsRealServiceInfoPlist]) { NSLog(@"Enabling Firebase"); @@ -55,8 +57,6 @@ ViewController *rootController = (ViewController *)self.window.rootViewController; [jitsiMeet showSplashScreen:rootController.view]; - - [jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions]; return YES; }