You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an iOS plugin for my project that tries to read from a database created by litehelpers/Cordova-sqlite-storage, and my plugin runs in background mode, sometimes while the phone is locked. I think SQLITE_OPEN_FILEPROTECTION_NONE has to be passed to SQLite when first opening (creating) the database for this to work.
It doesn't look like this is supported now - the sqlite3_open call in this project doesn't pass any flags. Could this be supported?
The text was updated successfully, but these errors were encountered:
This plugin does NOT use libsqlite3 packaged on iOS for multiple reasons. I think the best solution is to set NSProtectionKey to NSProtectionNone on opened/created database files and on default database directory (LocalDatabase directory). Thanks to @vzaidman for the suggestion in #264.
I am dealing with this issue right now. On iOS I am communicating to a BLE device in the background when the the phone is locked. I am not getting an error in my queries it just is not returning from the transaction.
I see this issue is 4 years old. Were there any changes that would resolve this? I see the recommendation for using NSFileProtectionNone. Is that something that was or could be implemented?
I have an iOS plugin for my project that tries to read from a database created by litehelpers/Cordova-sqlite-storage, and my plugin runs in background mode, sometimes while the phone is locked. I think SQLITE_OPEN_FILEPROTECTION_NONE has to be passed to SQLite when first opening (creating) the database for this to work.
It doesn't look like this is supported now - the sqlite3_open call in this project doesn't pass any flags. Could this be supported?
The text was updated successfully, but these errors were encountered: