0
I’m developing an application using the Pouchdb and creating apps using Cordova.
I already tested the application on Chrome, firefox, android browser, safari, Blackberry browser, app for Ios, apk no Blackberry and in all of them worked properly.
The problem is only in the android, where the app opens normally and when the Pouchdb begins to do the Sync the application closes alone without error message or any log. I have performed several tests on two different tablets (Android 4.1.2) and in both occurs the same problem.
Someone’s been through this trouble?
I need to fix this urgently.
Thank you very much.
Are you using CORS? In adb there is no log or information with the Cordova TAG? From what I saw on their github there is a problem in Webkit Android 4.1 and 4.2.2 and unfortunately there is no solution for this. More info on the link: https://github.com/pouchdb/pouchdb/issues/504
– Pedro Henrique
Yes using CORS. I managed to solve here, is a problem with the Sqlite + Android, I think Android can not manage and kills the application. I tested with the Websql and worked properly, thank you.
– Daniel