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:
parent
af6c794fda
commit
28cd74077b
|
@ -45,6 +45,8 @@
|
||||||
#endif
|
#endif
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
[jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];
|
||||||
|
|
||||||
// Initialize Crashlytics and Firebase if a valid GoogleService-Info.plist file was provided.
|
// Initialize Crashlytics and Firebase if a valid GoogleService-Info.plist file was provided.
|
||||||
if ([FIRUtilities appContainsRealServiceInfoPlist]) {
|
if ([FIRUtilities appContainsRealServiceInfoPlist]) {
|
||||||
NSLog(@"Enabling Firebase");
|
NSLog(@"Enabling Firebase");
|
||||||
|
@ -55,8 +57,6 @@
|
||||||
|
|
||||||
ViewController *rootController = (ViewController *)self.window.rootViewController;
|
ViewController *rootController = (ViewController *)self.window.rootViewController;
|
||||||
[jitsiMeet showSplashScreen:rootController.view];
|
[jitsiMeet showSplashScreen:rootController.view];
|
||||||
|
|
||||||
[jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];
|
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue