Skip to content

iCloud sync - when does sync happen? #584

@bumpingChris

Description

@bumpingChris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions