amazon_cognito_upload 0.0.5 copy "amazon_cognito_upload: ^0.0.5" to clipboard
amazon_cognito_upload: ^0.0.5 copied to clipboard

The amazon_cognito_upload package is a Dart library designed to simplify and streamline the process of uploading files to Amazon S3 Bucket.

amazon_cognito_upload #

The amazon_cognito_upload package is a Dart library designed to simplify and streamline the process of uploading files to Amazon Cognito, a robust and secure cloud service offered by Amazon Web Services (AWS). This package is particularly useful for those who need to integrate file upload functionality with Amazon Cognito authentication.

Features #

  • Simplified File Uploads: Streamline the process of uploading files to Amazon Cognito, reducing development time and complexity.
  • Customizable Configuration: Tailor the package to meet your specific requirements with customizable configuration options.

Getting started #

Install

Add the amazon_cognito_upload package to your pubspec dependencies.

Super simple to use


import 'package:amazon_cognito_upload/amazon_cognito_upload.dart';

void uploadFile() {
  AWSWebClient.uploadFile(
    s3UploadUrl: '', //s3 bucket url like : https://yourbucket name.s3.region.amazonaws.com/
    s3SecretKey: '',
    s3Region: '',
    s3AccessKey: '',
    s3BucketName: '',
    folderName: '',
    fileName: '',
    fileBytes: '',
  );
}

Important #

Remember that enabling CORS for public access temporary when you upload file to S3 bucket. the security implications of allowing cross-origin requests. Make sure to only allow the origins that you trust.

Support me to grow for better work

Buy Me A Coffee

4
likes
120
pub points
43%
popularity

Publisher

unverified uploader

The amazon_cognito_upload package is a Dart library designed to simplify and streamline the process of uploading files to Amazon S3 Bucket.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

amazon_cognito_identity_dart_2, flutter, http

More

Packages that depend on amazon_cognito_upload