Browse Source

Replace deprecated method. (#7849)

Nick Cooke 5 years ago
parent
commit
633efca23f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      SharedTestUtilities/FIRSampleAppUtilities.m

+ 1 - 1
SharedTestUtilities/FIRSampleAppUtilities.m

@@ -110,7 +110,7 @@ NSString *const kInvalidPlistAlertMessage = @"This sample app needs to be update
     [viewController showDetailViewController:safariController sender:nil];
   } else {
 #endif
-    [[UIApplication sharedApplication] openURL:url];
+    [[UIApplication sharedApplication] openURL:url options:@{} completionHandler:nil];
 #if __has_include(<SafariServices/SafariServices.h>)
   }
 #endif