This problem occurs on Android platforms when the device is connected to a wify network without internet connection.
If a selective sync is configured and data are cyclically saved on the datastore, eventually, the execution gets stuck in the save method. My configuration includes Datastore, Api and Auth plugins.
Categories
[ ] Analytics
[ ] API (REST)
[ ] API (GraphQL)
[ ] Auth
[ ] Authenticator
[X] DataStore
[ ] Notifications (Push)
[ ] Storage
Steps to Reproduce
Start the app with internet connection
Initialize amplify
Sign-up and Sign-in with Cognito authentication
Switch the device to a wify without internet connection
Cyclically call the method await Amplify.Datastore.save(model)
Description
This problem occurs on Android platforms when the device is connected to a wify network without internet connection. If a selective sync is configured and data are cyclically saved on the datastore, eventually, the execution gets stuck in the save method. My configuration includes Datastore, Api and Auth plugins.
Categories
Steps to Reproduce
await Amplify.Datastore.save(model)
Screenshots
No response
Platforms
Flutter Version
3.24.4
Amplify Flutter Version
2.5.0
Deployment Method
Amplify CLI (Gen 1)
Schema
No response