Skip to content
Discussion options

You must be logged in to vote

Quick follow up here.

As Brandon pointed out, the root issue was absolutely sharing the database file in an app group and accessing it directly from multiple processes. This is discussed in GRDBs documentation.

The root issue has been about 99% mitigated with a locking structure similar to the one I posted above, but it highlights the need to move this storage location and rethink / prioritize our data sharing strategy. In the meantime, we have traded runtime usage failures for a slight uptick in ANR. Not debilitating, but also clearly needs fixing.

Thank you Brandon and Stephen for the timely responses, help, and resources. I urge anyone else who is starting a project and using SQLiteDat…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@pschuette22
Comment options

@mbrandonw
Comment options

@pschuette22
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pschuette22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants