Skip to content

If the app is started without connectivity, once connectivity is restored, networkStatus event is not dispatched #5621

Open
@giulitu95

Description

@giulitu95

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

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

  1. Start the application without connectivity after the amplify configuration
  2. Enable iternet connection on a iOS device
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working; the issue has reproducible steps and has been reproduceddatastoreIssues related to the DataStore CategoryiOSIssues specific to the iOS Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions