Provide Access to iCloud data on other (non-Apple) platforms?

I'm about to start work on my first app. One of the major things I need to decide is what platforms I want to support. I've decided to support iOS and the Mac.

However, I've already run into an issue - without even writing a single line of code yet. My app heavily relies on iCloud/CloudKit to sync users' content between iOS and macOS. If I were to make this available on other platforms in the future, (how) would I be able to let users access this iCloud content? Thanks.

P.S - By "other platforms" I am referring to the web and W**dows (I'm not sure if it is against the rules here to mention that platform by name).

Answered by Frameworks Engineer in 703779022

For the web, there is the older CloudKit JS client library and the newer CKTool JS library. The newer library isn’t a complete replacement for CloudKit JS since it’s missing auth UI, sharing UI and push notification support. However you can use CloudKit JS for gaps in what CKTool JS provides and they can be used together.

CKTool JS: https://developer.apple.com/documentation/cktooljs CloudKit JS: https://developer.apple.com/documentation/cloudkitjs

For Windows, you can use CloudKit Web Services: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/index.htm

If you were to make a web-based solution, you could also just have Windows clients use your web app.

Accepted Answer

For the web, there is the older CloudKit JS client library and the newer CKTool JS library. The newer library isn’t a complete replacement for CloudKit JS since it’s missing auth UI, sharing UI and push notification support. However you can use CloudKit JS for gaps in what CKTool JS provides and they can be used together.

CKTool JS: https://developer.apple.com/documentation/cktooljs CloudKit JS: https://developer.apple.com/documentation/cloudkitjs

For Windows, you can use CloudKit Web Services: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/index.htm

If you were to make a web-based solution, you could also just have Windows clients use your web app.

Provide Access to iCloud data on other (non-Apple) platforms?
 
 
Q