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

Error open database on iOS 15.2 #114

Open
fgattu opened this issue Jan 11, 2022 · 1 comment
Open

Error open database on iOS 15.2 #114

fgattu opened this issue Jan 11, 2022 · 1 comment

Comments

@fgattu
Copy link

fgattu commented Jan 11, 2022

Hi,
My Ionic application used an encrypted database (created by this plugin).
If the application was installed with an iOS version lower than 15.2 and then the iPhone/iPad is updated at iOS 15.2, when the application is reopened, the "openDatabase()" function fails.

The log messages are:
Open DB with encryption
[logging] file is not a database in "SELECT count(*) FROM sqlite_master;"
ERROR reading sqlite master table
⚡️ [error] - Open DB error {"code":0}

If we uninstall and reinstall the application using iOS 15.2 version, everything will work again.

I saw that an issue about it was opened on the Apple developer forum (https://developer.apple.com/forums/thread/697001).

How can I solve the problem?

Thank you

@ForamRaiyani
Copy link

Hi @fgattu

I'm facing the same issue. Did you find any solution regarding this. Please let me know if any.

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

No branches or pull requests

2 participants