Skip to content
pubscout

amazon_s3_cognito

0.9.1, released 3 weeks ago by an unverified publisher

Upload, delete and manage files on Amazon S3 using Cognito authentication.

WASM-readyUnverified publisher
$ flutter pub add amazon_s3_cognito
Source repository

What it does

Allows Flutter apps to upload single or multiple files (images, PDFs, etc.) directly to an Amazon S3 bucket using Amazon Cognito. It supports progress tracking via streams and file deletion.

AI-written summary of version 0.9.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Your Flutter app needs to upload images or documents directly to Amazon S3.
  • You authenticate users with Amazon Cognito and need to integrate S3 storage.

Skip it when

  • You use a backend other than AWS S3.
  • You need a general-purpose local storage database rather than cloud object storage.

Strengths

  • Supports uploading multiple files with progress updates via event streams.
  • Works on both Android and iOS platforms.
  • Supports large file transfers using multipart upload.

Weaknesses

  • Requires manual native platform configurations on both Android and iOS.
  • Unofficial plugin with platform-specific limitations mentioned in history.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
0

Android requires registering TransferService in AndroidManifest.xml. iOS requires adding a background URL session implementation in AppDelegate.

ImageData imageData = ImageData("uniqueFileName", filePath, uniqueId: "uniqueIdToTrackImage", imageUploadFolder: "folder to upload inside bucket");
String uploadedImageUrl = await AmazonS3Cognito.upload(bucket, identity, region, subRegion, imageData);

Alternatives

Packages that do the same job and could replace amazon_s3_cognito.