Quellcode durchsuchen

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é vor 4 Jahren
Ursprung
Commit
28cd74077b
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      ios/app/src/AppDelegate.m

+ 2
- 2
ios/app/src/AppDelegate.m Datei anzeigen

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
 }

Laden…
Abbrechen
Speichern