Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error trying to initialize the AmityCoreClient from Example #7

Open
dreamtank89 opened this issue Nov 2, 2022 · 2 comments
Open

Error trying to initialize the AmityCoreClient from Example #7

dreamtank89 opened this issue Nov 2, 2022 · 2 comments

Comments

@dreamtank89
Copy link

When I try to use the example code just to initialise the connection, I get this error - "Exception has occurred. _AssertionError ('package:get_it/get_it_impl.dart': Failed assertion: line 404 pos 9: 'instanceFactory.isReady': You tried to access an instance of MessageDbAdapter that is not ready yet)"

@jdde
Copy link

jdde commented Nov 25, 2022

same for me :)
I even have that error, when I use the packages as a dependency

@jdde
Copy link

jdde commented Nov 25, 2022

@dreamtank89 just set sycInitialization: true to trie in your AmityCoreClient.setup call. It solves the issue :)

see: https://community.amity.co/t/flutter-unable-to-use-amity-sdk/587/3

RootSoft pushed a commit to RootSoft/amity_social_cloud_sdk_flutter that referenced this issue Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants