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.
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