You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
@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
@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?
@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.
Activity
daniel-jonathan commentedon Sep 20, 2018
@Giulioo Can you share your setup?
Giulioo commentedon Sep 20, 2018
@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
and in the graphDidPrepareCloudStorage I call a function that makes a search to load all the preexisting data
daniel-jonathan commentedon Sep 20, 2018
@Giulioo Thank you for that information. @OrkhanAlikhanov and I will test Graph, and see if there are any changes necessary for iOS 12.
Giulioo commentedon Sep 20, 2018
@DanielDahan Great, thank you!
It didn't work well also on iOS 11, maybe I have to configure something else?
daniel-jonathan commentedon Sep 20, 2018
@Giulioo Generally iCloud is very tricky, and not necessarily the best. I find it slow to update.
Giulioo commentedon Sep 20, 2018
@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?
daniel-jonathan commentedon Sep 20, 2018
@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.
Giulioo commentedon Sep 20, 2018
@DanielDahan Ok, I'll send the email
daniel-jonathan commentedon Sep 20, 2018
Thank you, I am closing this issue.
giuliomignemi commentedon Nov 11, 2019
hi i have the exact same problem, how can i fix it?
daniel-jonathan commentedon Nov 11, 2019
@giuliomignemi can you share more details, and your setup code please? What are you testing on, which OS are you using... thank you!
giuliomignemi commentedon Nov 11, 2019
giuliomignemi commentedon Nov 12, 2019
I hope you can help me
daniel-jonathan commentedon Nov 13, 2019
@giuliomignemi thank you! I will have to look at this over the weekend. I reopened the issue for you.
giuliomignemi commentedon Nov 13, 2019
thank you!
giuliomignemi commentedon Nov 27, 2019
have some news?