Open saurabhmore opened 1 year ago
Hi @saurabhmore thanks for opening the issue.
I uploaded Photos in offline mode
Could you clarify this statement - did you mean when the device if offline, you called Amplify.Storage.uploadFile
API to upload a photo? And you were expecting this API call should set up a scheduled task that will be executed when device gets back online?
@HuiSF i have tried to add images in the offline mode :
Note : if we haven't closed the App and kept Idle in background it works fine
Thank you for the clarification @saurabhmore .
The Amplify Storage S3 plugin currently doesn't support any offline functionality, upload operations requires an active network connection.
Can you confirm this is what you are looking for?
As a developer, I want to be able to call the
Amplify.Storage.uploadFile
API regardless of the network condition of the device. If the device was offline when I called the API to upload a file, I expect the upload to go through when the device gets back online.
We may consider this as a feature request.
Description
I uploaded Photos in offline mode and then the app was completely closed(not running in the background) Later on, I Opened the app in Online mode the photos which I uploaded were not displayed in Online mode. But in the same scenario, I try not closing the app from the background it works perfectly well and photos get uploaded. Need some solution regarding when the app is closed from a background as well the photos should get uploaded.
Categories
Steps to Reproduce
No response
Screenshots
No response
Platforms
Flutter Version
3.7.0
Amplify Flutter Version
0.6.13
Deployment Method
Amplify CLI
Schema
No response