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

use crosswalk,when executeSql ,always throw new transaction is waiting for open operation #340

Closed
tomisacatyet opened this issue Sep 11, 2015 · 5 comments

Comments

@tomisacatyet
Copy link

i solve crosswalk+sqlite crash by this link:
#336
but now when i execute sql , the log below:
SQL : select count() as count from chat_record where receiver_id = ? and is_read = ?
SQLitePlugin.js:105 new transaction is waiting for open operation
ionic.bundle.min.js:5 SQL : select count(
) as count, unique_identification from chat_record where receiver_id = ? and is_read = ? group by unique_identification
SQLitePlugin.js:105 new transaction is waiting for open operation

who can help solve this problem?
@brodybits

from China , thanks

@tomisacatyet tomisacatyet changed the title use crosswalk,when use crosswalk,when executesql ,always throw new transaction is waiting for open operation Sep 11, 2015
@tomisacatyet tomisacatyet changed the title use crosswalk,when executesql ,always throw new transaction is waiting for open operation use crosswalk,when executeSql ,always throw new transaction is waiting for open operation Sep 11, 2015
@brodycj
Copy link
Contributor

brodycj commented Sep 11, 2015

Please make sure you use androidDatabaseImplementation: 2 in the openDatabase() options, as described in README.md.

EDIT: You may have to use androidDatabaseImplementation: 2 in the openDatabase() options, as described in README.md.

@brodycj
Copy link
Contributor

brodycj commented Sep 11, 2015

I just added the native libraries that were missing. Please try it again, and try it first without androidDatabaseImplementation: 2 in the openDatabase() options.

@tomisacatyet
Copy link
Author

@brodybits you mean i didn‘t open database success may cause the executeSql fail? i will try it later,thanks

@tomisacatyet
Copy link
Author

@brodybits thanks a lot,i update the plugin lastest,and the problem solved !!!

@brodycj
Copy link
Contributor

brodycj commented Sep 24, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants