-
Notifications
You must be signed in to change notification settings - Fork 891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background image upload is not working #5385
Comments
@harshil-vyas08 Thanks for opening the issue. Our team will investigate and provide an update.
|
@harsh62 - I can't access the logs because this issue happens only when the application is installed on the real device. I can't see this issue always happening. When I connect my device to Xcode and install the app it always works. Vice versa when I remove my device from Xcode and then just recreate whole scenario which is mentioned in ticker description I can see uploading gets stuck. |
@harshil-vyas08 Thanks for providing the information, our team is still trying to recreate the issue locally. |
The Download is not Working in the background mode even if i entitled all the necessary permission for the application it only works when the app is connected to xcode due to xcode keep the session alive but if try after removing the connection from the xcode the app not able to keep the download after 45 sec what may be the reason |
@harshil-vyas08 @shamith-kumar-sclera Can you please try using the Transfer Utility as described here in this documentation https://docs.amplify.aws/gen1/swift/sdk/storage/transfer-utility/ |
Describe the bug
We're adding a feature to our app where customers can upload many images at once using aws-sdk. If they choose more than 20 images and start uploading them, then minimize the app, when they bring it back up after a while (X minutes), the upload might seem stuck without showing any errors. This problem is important for our next release, and we need help figuring out if there are setup mistakes or issues in our code that could be causing this.
To Reproduce
https://github.com/aws-amplify/aws-sdk-ios/assets/157394622/76e568b8-2a3c-4db2-9b51-093a124df357
Observed Behavior
Image uploading gets stuck.
Expected Behavior
Images should be uploaded in the background mode as well. If this is not supported then at least when user moves to the foreground the expectation is to resume uploads that are stuck.
Stack Trace
N/A
Code Snippet
Please provide a snippet of the code causing the issue or how you are using the service that has the bug.
In AppDelegate
Unique Configuration
If you are reporting an issue with a unique configuration or where configuration can make a difference in code execution (i.e. Cognito) please provide your configuration. Please make sure to obfuscate sensitive information from the configuration before posting.
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
AWSS3TransferUtility
Screenshots
If applicable, add screenshots to help explain your problem.
N/A
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context
N/A
Relevant Console Output
Not seeing any errors
Logs
No logs are available
INSERT LOG MESSAGES HERE
N/A
The text was updated successfully, but these errors were encountered: