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
If the app is started without connectivity, as soon as connectivity is restored, the networkStatus event is not dispatched by the datastore hub channel and the related callback is not triggered. I experience this problem only on iOS devices while on android devices the event is correctly dispatched.
Categories
Analytics
API (REST)
API (GraphQL)
Auth
Authenticator
DataStore
Notifications (Push)
Storage
Steps to Reproduce
Start the application without connectivity after the amplify configuration
Enable iternet connection on a iOS device
The hub event is not dispatched and the callback is not triggered
Screenshots
No response
Platforms
iOS
Android
Web
macOS
Windows
Linux
Flutter Version
3.24.3
Amplify Flutter Version
2.4.2
Deployment Method
Amplify CLI (Gen 1)
Schema
No response
The text was updated successfully, but these errors were encountered:
After some tests I have discovered that network status events are correctly dispatched only after datastore tries to synchronize a model without internet connection. At this point a SocketException is raised (#5360) but the related network status event is not yet dispatched. All events start to be correctly generated only when user restore the internet connection.
Thank you for further testing and providing this info @giulitu95. We are attempting to reproduce this issue and will check the flow described here, will notify you once we have an update.
Description
If the app is started without connectivity, as soon as connectivity is restored, the networkStatus event is not dispatched by the datastore hub channel and the related callback is not triggered. I experience this problem only on iOS devices while on android devices the event is correctly dispatched.
Categories
Steps to Reproduce
Screenshots
No response
Platforms
Flutter Version
3.24.3
Amplify Flutter Version
2.4.2
Deployment Method
Amplify CLI (Gen 1)
Schema
No response
The text was updated successfully, but these errors were encountered: