搜尋套件、儲存庫與 APP 分類

套件詳情v0.1.1+hotfix.5

aws_s3

此套件可用於將任何檔案上傳至 AWS S3,並顯示上傳進度百分比。

近 30 天下載
6
喜歡數
32
Pub 分數
30

安裝套件

flutter pub add aws_s3

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

aws_s3 套件讓 Flutter 應用程式能夠以即時上傳進度追蹤的方式將檔案上傳至 AWS S3。它透過提供一個簡單的 API 來處理檔案上傳,包含支援監控上傳百分比,簡化了與 AWS S3 的整合。此套件專為使用雲端儲存的開發者設計,可輕鬆安全地將圖片、文件和影片等資源儲存在 AWS S3 中。對於需要可靠檔案持久性和可擴展儲存解決方案的應用程式而言,此套件特別實用。

適用情境

  • 將使用者產生的內容上傳到 AWS S3
  • 即時追蹤上傳進度
  • 儲存應用資源,如圖片和影片
  • 與基於 AWS 的後端整合
  • 管理雲原生應用中的檔案儲存

主要特色

  • 即時上傳百分比追蹤
  • 檔案上傳的簡單 API
  • AWS S3 結合
  • 支援多個檔案上傳
  • 安全的雲端儲存存取

適合對象

  • 需要雲端檔案儲存的Flutter應用
  • 使用 AWS S3 作為後端的開發人員
  • 需要上傳進度反饋的應用
  • 使用者上傳媒體的專案
  • 以雲為先的移動應用開發

使用建議

  • 需要配置 AWS 憑證
  • 僅限 AWS S3 服務
  • 無內建檔案管理功能
  • 依賴互聯網連接
  • 可能需要特定於平台的設定

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

aws_s3

This plugin developed to make it easy to upload any file(s) to AWS S3 without writing Android, and IOS code separately using method channel.

DISCLAIMER: This is not an AWS officially released plugin but this plugin uses AWS official Android native and IOS native AWS plugins (So nothing to be worried). Check the package implementation on github: https://github.com/blasanka/aws_s3

Contributors are highly welcome.

To use this package, you have to create a instance of AwsS3 with parameters like below code snippet:

AwsS3 awsS3 = AwsS3(
  awsFolderPath: "your aws folder path",
  file: "file is of type File",
  fileNameWithExt: "file name",
  poolId: "your aws pool id",
  region: "your region using enum Regions",
  bucketName: "your bucket name to upload");

AwsS3 class, parameters:

  final File file;
  final String fileNameWithExt;
  final String awsFolderPath;
  final String poolId;
  final Regions region;
  final String bucketName;

  AwsS3({
    @required this.file,
    @required this.fileNameWithExt,
    @required this.awsFolderPath,
    @required this.poolId,
    this.region = Regions.US_WEST_2,
    @required this.bucketName,
  });

All the available regions from official Amazon AWS S3 android are supported in this Flutter plugin:

/// Enumeration of region names
enum Regions {
  GovCloud,
  US_GOV_EAST_1,
  US_EAST_1,
  US_EAST_2,
  US_WEST_1,
  US_WEST_2, ///Default: The default region of AWS Android SDK
  EU_WEST_1,
  EU_WEST_2,
  EU_WEST_3,
  EU_CENTRAL_1,
  EU_NORTH_1,
  AP_EAST_1,
  AP_SOUTH_1,
  AP_SOUTHEAST_1,
  AP_SOUTHEAST_2,
  AP_NORTHEAST_1,
  AP_NORTHEAST_2,
  SA_EAST_1,
  CA_CENTRAL_1,
  CN_NORTH_1,
  CN_NORTHWEST_1,
  ME_SOUTH_1
}

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

所屬分類

原始碼儲存庫

使用此套件的專案

暫無相關資料。