Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.

Commit eb92721

Browse files
author
Neli Harbuzava
authored
Update README.md
Fix based on Xcode 10.2.1 warning and Xcode fix suggestion: "Conflicting parameter types in implementation of 'application:handleEventsForBackgroundURLSession:completionHandler:': 'void (^ _Nonnull __strong)(void)' vs 'void (^__strong _Nonnull)()' This block declaration is not a prototype Insert 'void'"
1 parent 6688c8d commit eb92721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ In your `AppDelegate.m` add the following code:
6464

6565
...
6666

67-
- (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)())completionHandler
67+
- (void)application:(UIApplication *)application handleEventsForBackgroundURLSession:(NSString *)identifier completionHandler:(void (^)(void))completionHandler
6868
{
6969
[RNBackgroundDownloader setCompletionHandlerWithIdentifier:identifier completionHandler:completionHandler];
7070
}

0 commit comments

Comments
 (0)