Kaynağa Gözat

Remove check to initialize with default Firebase instance

Jenny Cong 3 yıl önce
ebeveyn
işleme
2727bf0fce
1 değiştirilmiş dosya ile 0 ekleme ve 5 silme
  1. 0 5
      FirebasePerformance/Sources/FPRClient.m

+ 0 - 5
FirebasePerformance/Sources/FPRClient.m

@@ -53,11 +53,6 @@
 
   void (^observerBlock)(NSNotification *) = ^(NSNotification *aNotification) {
     NSDictionary *appInfoDict = aNotification.userInfo;
-    NSNumber *isDefaultApp = appInfoDict[kFIRAppIsDefaultAppKey];
-    if (![isDefaultApp boolValue]) {
-      return;
-    }
-
     NSString *appName = appInfoDict[kFIRAppNameKey];
     FIRApp *app = [FIRApp appNamed:appName];
     FIROptions *options = app.options;