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

iCloud sync - when does sync happen? #584

Open
bumpingChris opened this issue Nov 19, 2024 · 0 comments
Open

iCloud sync - when does sync happen? #584

bumpingChris opened this issue Nov 19, 2024 · 0 comments

Comments

@bumpingChris
Copy link

bumpingChris commented Nov 19, 2024

Hi,
Thanks for maintaining this library!

I have a question regarding iCloud sync. I'm relatively new to cloud syncing so please forgive any basic questions.

  1. If I've setup the database in the "Documents" location (and set up the icloud permissions in pinfo.list and xcode), does the database file reside in my app's sandbox documents directory or the iCloud container documents directory?

  2. And if later I either deleted the app and reinstalled it or installed the app in a new phone, does the old database automatically sync to the new install? Or do I need to write some code to check if the database exists in the cloud before opening it?

  3. What if some the database were updated in another device connected to the cloud. Would it update all databases using the cloud?

Thanks for your help

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

No branches or pull requests

1 participant