Skip to content
pubscout

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.

$ flutter pub add icloud_storage_sync
Source repository

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.

  • cbl

    An offline-first NoSQL document database with SQL++ queries, full-text search, and bi-directional sync.

  • cbl_flutter

    Flutter plugin for Couchbase Lite, an embedded NoSQL document database with sync support.

  • cbl_dart

    Embedded NoSQL JSON document database for pure Dart and Flutter apps.

Works with

Packages commonly used together with icloud_storage_sync: ones it builds on, ones built on it, and its own family.