We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00addf0 commit 8b905e9Copy full SHA for 8b905e9
ios/VydiaRNFileUploader.m
@@ -55,12 +55,12 @@ - (void)startObserving {
55
// JS side is ready to receive events; create the background url session if necessary
56
// iOS will then deliver the tasks completed while the app was dead (if any)
57
NSString *appGroup = nil;
58
- double delayInSeconds = 0.5;
+ double delayInSeconds = 30;
59
dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC);
60
dispatch_after(popTime, dispatch_get_main_queue(), ^(void){
61
[self urlSession:appGroup];
62
});
63
-}
+}
64
65
+ (void)setCompletionHandlerWithIdentifier: (NSString *)identifier completionHandler: (void (^)())completionHandler {
66
if ([BACKGROUND_SESSION_ID isEqualToString:identifier]) {
0 commit comments