deansyd / icloud_storage

A flutter plugin for uploading and downloading files to and from iCloud
MIT License
40 stars 24 forks source link

Web/Android support #31

Open timobaehr opened 1 year ago

timobaehr commented 1 year ago

Access to iCloud is possible via web browser. It would be a great enhancement if you could also use iCloud on the web and on Android via web access.

TP-113 commented 5 months ago

Hello. I really want that feature. However, it looks like Apple does not provide an API to access iCloud Documents from non-Apple devices.

TP-113 commented 5 months ago

https://developer.apple.com/library/archive/documentation/General/Conceptual/iCloudDesignGuide/Chapters/Introduction.html#//apple_ref/doc/uid/TP40012094-CH1-SW1

According to the official Apple documentation, Apple provides three means for developers to integrate with iCloud.

  1. Key-Value Store
  2. iCloud Document Storage
  3. CloudKit

The Key-Value Store and CloudKit services cannot directly access the user's iCloud Document folder. Instead, these services allow storing app-specific data in the user's designated iCloud storage area. The iCloud Document Storage option enables accessing the user's iCloud Document folder, but this access is limited to Apple's devices running iOS, iPadOS, or macOS. The integration happens through the respective operating system's APIs, not a cloud-based API. Therefore, while Apple provides ways to leverage iCloud for data synchronization and storage within apps, there is no publicly available cloud API that allows direct programmatic access to a user's iCloud Document folder from outside of Apple's device ecosystem.