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

Database corrupted and cleared from android device #571

Open
jahanvi-droid opened this issue Jul 19, 2024 · 0 comments
Open

Database corrupted and cleared from android device #571

jahanvi-droid opened this issue Jul 19, 2024 · 0 comments
Labels
bug/fix Something isn't working needs: triage

Comments

@jahanvi-droid
Copy link

jahanvi-droid commented Jul 19, 2024

I have an ionic angular capacitor app currently available for android and web platforms.

The issue has been generated in live env. In dev env, I have tried to regenerate the case but it hasn't happened yet.

I have used onesignal library for push notifications and in android to receive notifications & to call apis in the background, I have added code from native. So I am using a database from both the ionic and native end.

Also, I have added periodic call for background service after certain amount of time at android native part.

For some users, in my app suddenly they got some error and the database has been cleared. I tried to get some logs which are mentioned below.

Error: Query: in selectSQL cursor database disk image is malformed
Error: Query: in selectSQL cursor database not open

@robingenz robingenz added needs: triage bug/fix Something isn't working labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Something isn't working needs: triage
Projects
None yet
Development

No branches or pull requests

2 participants