awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

Fatal Exception: android.database.sqlite.SQLiteDatabaseLockedException #147

Open alanvan0502 opened 5 years ago

alanvan0502 commented 5 years ago

Describe the bug Database is locked when AppSyncMutationSqlCacheOperations.deleteRecord is called (see stacktrace)

Expected behavior SQLiteDatabase should not throw the LockedException.

Screenshots If applicable, add screenshots to help explain your problem. image

Environment(please complete the following information):

Device Information (please complete the following information):

desokroshan commented 5 years ago

Thanks for reporting the issue. I will try to reproduce this on my end and get back to you.

alanvan0502 commented 5 years ago

Thanks @desokroshan Look forward to receiving the feedback from you.

PhuTran92 commented 3 years ago

Hi @desokroshan, is there any update on this issue. I'm facing the same problem when using AppSync SDK Version 3.1.4.