Skip to content

Amplify Gen 2 - No offline-first support #6188

@rathoregee

Description

@rathoregee

Description

Does Amplify Gen 2 support DataStore?

How do we achieve local storage, such as offline-first?

How do we store some models locally and some synced with the cloud? For example, you have standard and premium membership features in the app

Please help me with Amplify Gen 2. How do we achieve offline-first?

Categories

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

Steps to Reproduce

Amplify Gen 2 supports GraphQL APIs without DataStore.

Screenshots

Too many sync conflicts coming after call await Amplify.DataStore.start();

await Amplify.addPlugins([ AmplifyAPI(), AmplifyAuthCognito(), AmplifyDataStore(modelProvider: ModelProvider.instance), ]);

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.32.0

Amplify Flutter Version

2.4.0

Deployment Method

Amplify Gen 2

Schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    datastoreIssues related to the DataStore CategoryquestionA question about the Amplify Flutter libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions