Consider exposing a custom file location for the iCloud metadatabase files? #102
Closed
robfeldmann
started this conversation in
CloudKit Preview
Replies: 2 comments 4 replies
-
Hi @robfeldmann, thanks for brining this up. We haven't given much thought to this so would want to get advice from the community. What if we simply put the meta database file in the same directory that your database is stored? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@robfeldmann Oops, sorry I didn't see this. I put up a PR for review here: https://github.com/pointfreeco/sharing-grdb-icloud/pull/41 But it could use some finesse given the points you brought up.
Thoughts? Do you want to share what you've been working on and maybe we can combine our efforts? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there. This is a minor annoyance (for me, on iOS at least) but would you consider exposing a way to modify the location of the metadabase files? It is a bigger deal for me on macOS.
I like to store my database in
Application Support/MyApp/Database/[db.sqlite|db.sqlite-shm|db.sqlite-wal]
in order to group these files and make it easier to delete all of them during development, etc.Using sharing-grdb-icloud, I now have
Application Support/[*.sqlite-data-icloud|*.sqlite-data-icloud-shm|*.sqlite-data-icloud-wal]
and this bugs me that I don't have these metadatabase files somewhere organized.Actually, I just realized on macOS these files are in the root of my
~/Library/Application Support
folder and not inside~/Library/Application Support/MyApp
like I'd expect.So, perhaps a new field on the
defaultSyncEngine
dependency value?Thanks for considering this.
Beta Was this translation helpful? Give feedback.
All reactions