Browse Source

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.
j8
Saúl Ibarra Corretgé 4 years ago
parent
commit
28cd74077b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      ios/app/src/AppDelegate.m

+ 2
- 2
ios/app/src/AppDelegate.m View File

@@ -45,6 +45,8 @@
45 45
 #endif
46 46
     }];
47 47
 
48
+  [jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];
49
+
48 50
     // Initialize Crashlytics and Firebase if a valid GoogleService-Info.plist file was provided.
49 51
   if ([FIRUtilities appContainsRealServiceInfoPlist]) {
50 52
         NSLog(@"Enabling Firebase");
@@ -55,8 +57,6 @@
55 57
 
56 58
     ViewController *rootController = (ViewController *)self.window.rootViewController;
57 59
     [jitsiMeet showSplashScreen:rootController.view];
58
-  
59
-    [jitsiMeet application:application didFinishLaunchingWithOptions:launchOptions];
60 60
 
61 61
     return YES;
62 62
 }

Loading…
Cancel
Save