Skip to content

Migrate away from NSPersistentCloudKitContainer #84

Description

@skjiisa

I've been having a lot of issues with NSPersistentCloudKitContainer lately and would like to move away from it. A solution like CloudCore or IceCream (which would require rewriting the database in Realm) could be a good option.

The issues I've been having

  • NSPersistentCloudKitContainer doesn't sync in app extensions, requiring that crazy, manual solution that's currently in place for the widget.
  • Inconsistent sync results between the manual extension solution and the NSPersistentCloudKitContainer solution.
    • Often I'll get records not syncing in the app when they do in the widget.

Overall it just doesn't seem very reliable. A different solution still needs to use CloudKit and not a third-party service like Realm's MongoDB sync as I want to keep the privacy policy empty. I don't want to be in charge of collecting any user data. With CloudKit, it's all handled by Apple and isn't my problem.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrefactorCode that should be refactored

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions