react-native-sqlite-storage icon indicating copy to clipboard operation
react-native-sqlite-storage copied to clipboard

executeSql hangs forever

Open KthProg opened this issue 3 years ago • 7 comments

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 avatar Nov 05 '21 18:11 KthProg

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

KthProg avatar Nov 05 '21 18:11 KthProg

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

KthProg avatar Nov 06 '21 17:11 KthProg

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

indapublic avatar Dec 18 '21 08:12 indapublic

Upgraded to 6.0.1. Same

indapublic avatar Dec 18 '21 08:12 indapublic

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

indapublic avatar Dec 18 '21 08:12 indapublic

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

CDBridger avatar Jan 10 '22 03:01 CDBridger

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

kushagra1212 avatar Jun 15 '23 06:06 kushagra1212