andpor / react-native-sqlite-storage

Full featured SQLite3 Native Plugin for React Native (Android and iOS)
MIT License
2.75k stars 521 forks source link

executeSql hangs forever #495

Open KthProg opened 2 years ago

KthProg commented 2 years ago

This was all working before very recently just fine. I didn't upgrade or anything, all I did was make a small change to the databases and paste the new databases into the assets folder.

I've confirmed that the databases are being copied into the app, and that the connections are opening successfully.

However, when I use that connection to make a request, it hangs forever on the await statement for executeSql. If I use the callback-based call, neither callback is ever called.

This is creating the database from an existing database file, which was previously working.

Expected Behavior

executeSql gives an error or returns.

Current Behavior

executeSql hangs forever.

KthProg commented 2 years ago

It suddenly started working again, no idea why. Do I need to clean up my connections or something?

KthProg commented 2 years ago

This is happening again, once again after I made some change and tried to debug the app. It just hangs on executeSql forever.

indapublic commented 2 years ago

Same for me for Android. Works with iPhone with same code. Version 5.0.1

indapublic commented 2 years ago

Upgraded to 6.0.1. Same

indapublic commented 2 years ago

Removed everything related from react-native.config.js. Same

CDBridger commented 2 years ago

same happening for me. works on iPhone sim, hangs on android emulator. using version 5.0.1

kushagra1212 commented 1 year ago

what is the updates on this issue ? It is also now working on android 13.