icloud_storage_sync
0.0.5, released 3 months ago by devcodespace.com
Sync and manage app files in iCloud storage for iOS and macOS.
What it does
Provides an interface to upload, download, delete, rename, and move files within iCloud storage containers. It supports path filtering, timeout handling, progress tracking, and live stream updates for file modifications.
AI-written summary of version 0.0.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to back up or sync app documents and data to iCloud on iOS and macOS.
- You want to monitor live updates or track upload/download progress of cloud files.
Skip it when
- You are building for Android or web platforms where iCloud is unavailable.
- You need a cross-platform local database or key-value store rather than cloud file sync.
Strengths
- Supports path filtering and timeout options for metadata queries.
- Provides progress tracking callbacks and live stream updates for file changes.
- Comprehensive API for file operations (upload, delete, rename, move, replace).
Weaknesses
- Limited to Apple platforms (iOS and macOS).
- Requires manual configuration of iCloud Container IDs, App IDs, and Apple Developer entitlements.
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 4
Requires an Apple Developer account, configuring an iCloud Container ID, enabling the iCloud capability in Apple Developer portal, and setting up entitlements in Xcode.
Future<List<ICloudFile>> gatherFilesOptimized({
required String containerId,
required String pathPrefix,
}) async {
return await icloudSyncPlugin.gather(
containerId: containerId,
relativePathPrefix: pathPrefix,
timeout: Duration(seconds: 30),
);
}Alternatives
Packages that do the same job and could replace icloud_storage_sync.
- simple_secure_storage
Secure key‑value storage for Flutter with platform‑specific backends.
77Compare - cbl
An offline-first NoSQL document database with SQL++ queries, full-text search, and bi-directional sync.
86Compare - cbl_flutter
Flutter plugin for Couchbase Lite, an embedded NoSQL document database with sync support.
82Compare - cbl_dart
Embedded NoSQL JSON document database for pure Dart and Flutter apps.
79Compare
Works with
Packages commonly used together with icloud_storage_sync: ones it builds on, ones built on it, and its own family.
- intlicloud_storage_sync depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- flutter_lintsicloud_storage_sync depends on itProvides the recommended set of Flutter lint rules for static analysis.
- plugin_platform_interfaceicloud_storage_sync depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providericloud_storage_sync depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.