瀏覽代碼

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

Loading…
取消
儲存