Skip to content

iCloud doesn't sync #155

Open
Open

Description

@Giulioo

When I launch the app, the database storage isn't synchronizing, but after some other launch, the database is synchronizing correctly.
I'm using iCloud storage, but it doesn't work correctly.
I've enabled iCloud in the capabilities of the project and I use Graph(cloud: "fancyName") to initialize the database and after graphDidPrepareCloudStorage I load all the data.

I didn't found any documentation for the iCloud support, where can I find it?

Any help, please?

Activity

  1. daniel-jonathan commented on Sep 20, 2018

    @daniel-jonathan
    Member

    @Giulioo Can you share your setup?

  2. Giulioo commented on Sep 20, 2018

    @Giulioo
    Author

    @DanielDahan I'm using Xcode 10, Swift 4.2 and testing on an iPhone 6 on iOS 12 (before on iOS 11)
    In the iCloud capabilities is checked only iCloud Documents and it uses the default container, no red warning.

    I initialize the database and set its delegate like this:
    ` database = Graph(cloud: "iCloudContainer", completion: { (success, error) in

            self.database.delegate = self
        }) `
    

    and in the graphDidPrepareCloudStorage I call a function that makes a search to load all the preexisting data

  3. daniel-jonathan commented on Sep 20, 2018

    @daniel-jonathan
    Member

    @Giulioo Thank you for that information. @OrkhanAlikhanov and I will test Graph, and see if there are any changes necessary for iOS 12.

  4. Giulioo commented on Sep 20, 2018

    @Giulioo
    Author

    @DanielDahan Great, thank you!
    It didn't work well also on iOS 11, maybe I have to configure something else?

  5. daniel-jonathan commented on Sep 20, 2018

    @daniel-jonathan
    Member

    @Giulioo Generally iCloud is very tricky, and not necessarily the best. I find it slow to update.

  6. Giulioo commented on Sep 20, 2018

    @Giulioo
    Author

    @DanielDahan Graph with iCloud worked on iOS 11 right? I couldn't find any documentation about how to implement it, so I don't know if I'm doing it right.
    In the iCloud capabilities is only checked iCloud Documents, is it right?
    Do I have to configure something on the iCloud dashboard for the container?

  7. daniel-jonathan commented on Sep 20, 2018

    @daniel-jonathan
    Member

    @Giulioo All should work, but let's move this chat to Slack. If you would like, please send your email and name to support@cosmicmind.com, and I can add you to our #opensource channel.

  8. Giulioo commented on Sep 20, 2018

    @Giulioo
    Author

    @DanielDahan Ok, I'll send the email

  9. daniel-jonathan commented on Sep 20, 2018

    @daniel-jonathan
    Member

    Thank you, I am closing this issue.

  10. giuliomignemi commented on Nov 11, 2019

    @giuliomignemi

    hi i have the exact same problem, how can i fix it?

  11. daniel-jonathan commented on Nov 11, 2019

    @daniel-jonathan
    Member

    @giuliomignemi can you share more details, and your setup code please? What are you testing on, which OS are you using... thank you!

  12. giuliomignemi commented on Nov 11, 2019

    @giuliomignemi
  13. giuliomignemi commented on Nov 12, 2019

    @giuliomignemi

    I hope you can help me

  14. daniel-jonathan commented on Nov 13, 2019

    @daniel-jonathan
    Member

    @giuliomignemi thank you! I will have to look at this over the weekend. I reopened the issue for you.

  15. giuliomignemi commented on Nov 13, 2019

    @giuliomignemi

    thank you!

  16. giuliomignemi commented on Nov 27, 2019

    @giuliomignemi

    have some news?

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions