-
Notifications
You must be signed in to change notification settings - Fork 199
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
File upload failing in background #3876
Comments
@amruth-movano Thanks for submitting the issue. To help us reproduce the issue and investigate further, can you provide a sample app or sample code that demonstrates how you're executing the upload? |
We have create one wrapper class -
And in another class we directly use the function to upload -
|
@amruth-movano Thanks for providing the sample code, we'll take a look. |
@amruth-movano Can you provide details on how your app has been configured for different background modes? |
Describe the bug
Hi Team,
We have application which connection with BLE device and for each min it syncs data and as soon as sync completes it uploads the file to s3 for that particular sync.
So we are observing failure in files when app is in background overnight which is causing UI to hang when user come to foreground in the morning.
Please see logs attached
Steps To Reproduce
Upload log file for each min in background overnight
Expected behavior
All File should get upload
Amplify Framework Version
2.39.0
Amplify Categories
Storage
Dependency manager
Swift PM
Swift version
5.9.2
CLI version
12.11.1
Xcode version
15.2
Relevant log output
Is this a regression?
Yes
Regression additional context
No response
Platforms
iOS
OS Version
iOS 17.5.1
Device
iPhone 14 Pro
Specific to simulators
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: