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.
This commit is contained in:
Saúl Ibarra Corretgé 2020-12-15 15:39:21 +01:00 committed by Saúl Ibarra Corretgé
parent af6c794fda
commit 28cd74077b
1 changed files with 2 additions and 2 deletions

View File

@ -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");
@ -56,8 +58,6 @@
ViewController *rootController = (ViewController *)self.window.rootViewController;
[jitsiMeet showSplashScreen:rootController.view];
[jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];
return YES;
}