Coder Social home page Coder Social logo

cloudkitsyncmonitor's People

Contributors

fhasse95 avatar fklingenberg avatar ggruen avatar holgerkrupp avatar infinitepower18 avatar isapozhnik avatar jeffreykuiken avatar joeldavidw avatar jordikitto avatar lamtrinhdev avatar longvudai avatar neilt avatar sowenjub avatar tunous avatar yidev0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cloudkitsyncmonitor's Issues

CKContainer.default().accountStatus does not get callback

Thanks for this nice library!

I've noticed that CKContainer.default().accountStatus does not get a callback in iOS 14.2, which results in always getting a "No Account" status.

Has anybody else gotten this error or is something wrong on my side?

Working with SwiftData?

Before I try to implement this package into my project: Does it work for SwiftData too? When using SwiftData and its automatic syncing capability, I don't with CKContainers for example. Will the package still work as if I was using CoreData? Under the hood SwiftData is still CoreData.

Just a few questions

Hi and thanks so much for creating this useful tool! I had a view questions I'm hoping you can help me with:

  1. Can you explain a bit more what requirements need to happen in order for "Setup State" to show successful? I ask because I had re-installed my app, successfully re-download all data from iCloud, Import/Export showed Successful but Setup was Not Started. It wasn't until I killed and re-launched that it updated.

  2. I have a user who has just over 100 saved objects on their iPhone in my app, but only 94 are syncing to their iPad. New projects aren't syncing between the two devices, and the status page is reading: Export Failed "CKERRORDOMAIN ERROR 2" -- I can't find much online about this error or what the suggested steps to fix it are. I'm not expecting you to help me troubleshoot, but I'm curious if you've come across this error before and if you've found a successful and repeatable way to address it.

Thanks so much!

Use without SwiftUI context

Can you please make a short example of how to use this library without a SwiftUI context?
I'd like to implement it in a class, but at this moment I'am a bit confused about the best way.

Status stuck on “Syncing” in iOS 17

Hi, thanks for this package.

I have implemented CloudKit in my app and it’s been working perfectly in iOS 16. However in iOS 17 (Release Candidate) CloudKit sync has been very unreliable, mostly after reinstallation of the app. The sync state is stuck in either “sync not started” or “syncing”. After about 30 minutes, iCloud sync suddenly works until the next time I uninstall and reinstall the app.

IMG_4766

I’m really confused as I haven’t faced any problems in iOS 16, only in iOS 17. Is it an iOS bug if it’s stuck on “sync not started” or “syncing” states for long periods of time?

Appreciate your input regarding this matter.

"syncStateSummary" not `@Published`

I was looking at this library and noticed that this property, although useful, is not @Published.... So, in order to catch changes on it, one would need to monitor changes to a half dozen or so other properties.

It seems potentially wasteful (although not terribly) to calculate this in advance for publishing if not used, but it's also a hassle to monitor so many other properties.

Just wanted to ask if there was potentially a compromise here, or if you had best practices in mind regarding this. 😅

'LocalizationValue' is only available in Mac Catalyst 15 or newer

  • xCode 15.3
  • CloudKitSyncMonitor 1.3.1

When trying to compile the project for Mac Catalyst target I'm getting the following error

'init(localized:table:bundle:locale:comment:)' is only available in Mac Catalyst 15 or newer
'LocalizationValue' is only available in Mac Catalyst 15 or newer

I guess we need to change @available(iOS 15.0, macCatalyst 14.0, OSX 12, tvOS 15.0, watchOS 8, *) to @available(iOS 15.0, macCatalyst **15.0**, OSX 12, tvOS 15.0, watchOS 8, *) in the library?

Screenshot 2024-06-24 at 16 42 22

Unrecognized AccountStatus error?

Hi. I'm getting a "Can't return account credentials for account (redacted) because the account needs to verify new terms or is in suspended mode." (and indeed I need to accept new terms) in the logs, but:

  • the iCloudAccountStatus returns .available and iCloudAccountStatusUpdateError is nil
  • the setupState is failed but the error is an obscure Error Domain=CKErrorDomain Code=2 "(null)"

What can I do to help?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.