diff --git a/Example/DynamicLinks/FDLBuilderTestAppObjC/AppDelegate.m b/Example/DynamicLinks/FDLBuilderTestAppObjC/AppDelegate.m index de64d6e99db..e2978aaae73 100644 --- a/Example/DynamicLinks/FDLBuilderTestAppObjC/AppDelegate.m +++ b/Example/DynamicLinks/FDLBuilderTestAppObjC/AppDelegate.m @@ -61,7 +61,11 @@ - (BOOL)application:(UIApplication *)application - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler: +#if __has_include() (void (^)(NSArray> *_Nullable))restorationHandler { +#else + (void (^)(NSArray *))restorationHandler { +#endif BOOL handled = [[FIRDynamicLinks dynamicLinks] handleUniversalLink:userActivity.webpageURL completion:^(FIRDynamicLink *_Nullable dynamicLink, NSError *_Nullable error) {