瀏覽代碼

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 年之前
父節點
當前提交
28cd74077b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      ios/app/src/AppDelegate.m

+ 2
- 2
ios/app/src/AppDelegate.m 查看文件

@@ -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…
取消
儲存