icloud_storage
2.2.0, released 4 years ago by an unverified publisher
Flutter plugin to upload, download, and manage files in the app's iCloud container.
What it does
Allows Flutter applications running on iOS and macOS to interact with iCloud containers. It provides methods to upload, download, delete, move, rename, and gather files with progress tracking and update streams.
AI-written summary of version 2.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to sync or manage files inside an iCloud container on iOS or macOS.
- You want to track upload and download progress via streams.
Skip it when
- You need a cross-platform solution that includes Android, Windows, or Linux.
- You are looking for general local key-value or SQLite storage.
Strengths
- Supports multiple iCloud containers.
- Provides progress streams for both uploads and downloads.
- Supports macOS alongside iOS.
Weaknesses
- Requires complex manual Apple Developer and Xcode configuration.
- Limited platform support (iOS and macOS only).
Setup
- Kind
- Plugin (native code)
- Effort
- High
- Code generation
- No
- Direct dependencies
- 1
Requires an Apple Developer account, creating an App ID and iCloud Container ID, enabling iCloud capability in Xcode, and configuring File Access for macOS if App Sandbox is enabled.
await ICloudStorage.upload(
containerId: 'iCloudContainerId',
filePath: '/localDir/localFile',
destinationRelativePath: 'destDir/destFile',
onProgress: (stream) {
stream.listen((progress) => print('Upload Progress: $progress'));
},
);Alternatives
Packages that do the same job and could replace icloud_storage.
- flutter_onedrive
Upload, download, and manage files on Microsoft OneDrive from a Flutter app.
52Compare - storage_client
Dart client library to interact with Supabase Storage.
87Compare - dart_aliyun_oss
Dart client SDK for Alibaba Cloud Object Storage Service (OSS).
52Compare - aws_s3_upload_lite
Upload files and byte data directly to AWS S3 buckets with progress tracking.
50Compare
Works with
Packages commonly used together with icloud_storage: ones it builds on, ones built on it, and its own family.