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

SURVEY: Has anyone encountered iOS locking issues? #431

Closed
brody4hire opened this issue Feb 23, 2016 · 4 comments
Closed

SURVEY: Has anyone encountered iOS locking issues? #431

brody4hire opened this issue Feb 23, 2016 · 4 comments

Comments

@brody4hire
Copy link

I have seen a couple of reports of iOS database locking:

I have not seen this issue myself. I would be interested if anyone else has seen this issue.

@brody4hire
Copy link
Author

I discovered the following: http://codeblow.com/questions/sqlite-error-database-is-locked/

I do not think this is an issue with this plugin since the sql access is protected by a @synchronized(self) block.

@asnyderabode
Copy link

This is an issue if you are using Data Protection.

screen shot 2016-08-19 at 5 00 08 pm

@brody4hire
Copy link
Author

Thanks @asnyderabode. Anyone else?

Any suggestions how to enable the "Data Protection"?

From discussion in sqlcipher/sqlcipher#156 and ccgus/fmdb#262 I think the ideal would be to use the SQLITE_OPEN_FILEPROTECTION_NONE flag. It may need some Apple or iOS specific code. I kinda remember there being an Apple or iOS specific SQLite branch. For further investigation.

I am also marking this as a bug for now.

@brody4hire
Copy link
Author

Closing this discussion in favor of issue reported in #786

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

No branches or pull requests

2 participants