You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
I have an issue, I'm uploading a file with the following code:
[s3Manager putObjectWithFile:videoPath
destinationPath:destinationPath
parameters:nil
progress:^(NSUInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
float fraction = (totalBytesWritten / (totalBytesExpectedToWrite * 1.0f));
NSLog(@"%f Uploaded", fraction);
}
success:^(AFAmazonS3ResponseObject *responseObject) {
//success - do syuff
}
failure:^(NSError *error) {
NSLog(@"Error: %@", error);
return;
}];
}];
Now the upload takes a long time (a video file), and the app can get into background mode.
When I look at the phone log, after the screen turns off - the % uploaded is getting updated for another 30 seconds or so and then just hangs.
When I get the app back to foreground - it is just stuck... Upload isn't continuing and no error indication.
How can I solve this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
First of all awesome library.
I have an issue, I'm uploading a file with the following code:
Now the upload takes a long time (a video file), and the app can get into background mode.
When I look at the phone log, after the screen turns off - the
% uploaded
is getting updated for another 30 seconds or so and then just hangs.When I get the app back to foreground - it is just stuck... Upload isn't continuing and no error indication.
How can I solve this?
The text was updated successfully, but these errors were encountered: