-
Notifications
You must be signed in to change notification settings - Fork 247
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
DataStore query fail on iOS #422
Comments
@fjnoyp Hi. Yes I did change schema like below
Also, will it support new null safety feature of flutter 2.0 soon? |
Thanks for sharing that @hyobbb. It looks like you are getting the same problem as describe in #415 The response I gave there is same for your situation. The issue you encountered comes from the underlying Amplify iOS Library behavior. I have been in communication with their devs and created an issue on their Amplify iOS repo linked here: aws-amplify/amplify-swift#1083. Once they fix the issue and we update our Amplify iOS Library dependencies, your problem will be resolved. I don't know how long this will take on their side but can provide updates as we investigate/triage it. We are actively looking into support the new null safety feature of flutter 2.0. We don't have any firm dates for this support but understand its importance for your upgrade to flutter 2.0. |
@fjnoyp Thanks. I found another issue to report. In my case Video model does not sync even in Android. Tag models sync normally so I can check them in Dynamo DB but Video model only appears in internal sqlite data although it is not in offline mode. Should I open another issue for that? |
Yes please report that in a separate issue @hyobbb When creating that issue, could you specify if you ran amplify push after adding the Video model to your schema? Could you share your logs as well? |
This is a bug report I just filed that includes a couple of bugs I found and the workarounds to each |
Closing this issue as the issue can be resolved by the workaround, and the root cause is tracked separately. |
Describe the bug
Query failed: DataStoreException(message: The operation couldn’t be completed. (SQLite.Result error 0.), recoverySuggestion: The operation couldn’t be completed. (SQLite.Result error 0.), underlyingException: The operation couldn’t be completed. (SQLite.Result error 0.))
query relational model causes error (query comments by postId for example)
on Android it doesn't throw error.
Also, HotRestart on iOS crash app because of AmplifyAlreadyConfiguredException although it should be caught by try&catch.
The text was updated successfully, but these errors were encountered: