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

Migration not working #263

Open
sobabear opened this issue Aug 14, 2022 · 0 comments
Open

Migration not working #263

sobabear opened this issue Aug 14, 2022 · 0 comments

Comments

@sobabear
Copy link

sobabear commented Aug 14, 2022

Below is the issue template. You can fill each part then submit your issue.
Or you can just delete all of these and describe your questions in you-like style.
But please remember: the more detailed info you offered, the greater possibility your problem will be solved. 😜

Expected behavior

  1. On existed Project(yes the project is already on production), I tried to introduce IceCream to connect iCloud.
  2. So Existed data also migates to iCloud and also new data will as well.

Actual behavior(optional)

  1. After initialized IceCream and related with it, I tried to migrate my existed realm to iCloud, but it doesn't work properly(I Could not find any on console).
        syncEngine = SyncEngine(objects: [
            SyncObject(type: MemoCollection.self, uListElementType: Memo.self),
            SyncObject(type: Memo.self, uListElementType: MemoImage.self, vListElementType: Tag.self),
            SyncObject(type: MemoImage.self),
            SyncObject(type: Tag.self),
        ], container: CKContainer.init(identifier: "iCloud.WAI.edison"))
        syncEngine?.pushAll()
  1. Of course newly data smoothly upload on iCloud.(Only happened on existed datas)

Reference

Screen Shot 2022-08-14 at 5 59 16 PM

  • As you see you can see three datas on my realm but only one data on iCloud(yes I add after initialize)

Screen Shot 2022-08-14 at 6 01 03 PM

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