amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

Amplify Datastore initialization time is too large in flutter

Open anaya12345 opened this issue 3 years ago • 2 comments

Before opening, please confirm:

App Id

arn:aws:amplify:REGION:accountId:apps/d25znh8gyx5zne

Region

us-east-1

Environment name

karecirc

Figma File Version (if applicable)

No response

Amplify CLI Version

No response

If applicable, what version of Node.js are you using?

No response

What operating system are you using?

Windows

Browser type?

Microsoft Edge

Describe the bug

A flutter application created with aws amplify support is taking too much time to initialize amplify datastore instance. The delay averages from 2 minutes to upto 15 minutes. Kindly guide us to resolve this issue asap.

Expected behavior

Datastore should be quickly initialized.

Reproduction steps

  1. Install application.
  2. Initialize amplify - add auth and datastore plugins.
  3. Show UI screen and fetch data from datastore using observe query.
  4. Observe isSync flag in observe query method. It becomes true after 2-15 minutes.

Additional information

No response

anaya12345 avatar Aug 02 '22 09:08 anaya12345

Hello @anaya12345 - Can you tell me how many models you have in your schema, and roughly how many total models exist in the cloud?

Are you using selective sync at all?

Jordan-Nelson avatar Sep 03 '22 01:09 Jordan-Nelson

@anaya12345 - Would you be able to provide the info above? Thanks.

Jordan-Nelson avatar Sep 19 '22 20:09 Jordan-Nelson

Hello @anaya12345 - I am going to close this out since we have not heard back. If you are still facing an issue, please open a new request in the amplify-flutter repo. Thanks.

Jordan-Nelson avatar Sep 26 '22 14:09 Jordan-Nelson