패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.5.0

aws_s3_upload

S3에 업로드하는 데 사용할 수 있는 간단하고 편리한 패키지입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
1.5천
좋아요
31
Pub 점수
110

패키지 설치

flutter pub add aws_s3_upload

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Amazon S3에 파일을 업로드하는 것을 간소화하기 위해 설계된 간단한 Flutter 패키지입니다. 최소한의 반복 코드로 파일 업로드를 처리할 수 있는 사용하기 쉬운 인터페이스를 제공하며, Android, iOS, macOS, Windows, Linux 등 여러 플랫폼을 지원합니다. AWS 인증 및 HTTP 요청의 복잡성을 추상화하여 앱에 클라우드 스토리지를 통합하려는 개발자에게 이상적입니다. 특히 클라우드에서 안전하고 신뢰할 수 있는 파일 저장이 필요한 애플리케이션에 특히 유용합니다.

사용 사례

  • 사용자 생성 콘텐츠를 S3에 업로드하는 것
  • 모바일 앱에 클라우드 스토리지 통합하기
  • 앱 자산을 안전하게 저장하기
  • 장치에서 AWS로 파일 동기화
  • 백업 기능 활성화

주요 기능

  • 간단한 업로드 API
  • 크로스 플랫폼 지원
  • AWS S3 통합
  • 안전한 파일 전송
  • 필수 최소 구성

적합한 대상

  • 클라우드 기능이 있는 앱을 구축하는 플러터 개발자
  • AWS에서 파일 저장이 필요한 앱
  • 신뢰할 수 있는 파일 업로드가 필요한 프로젝트
  • 간편한 S3 통합을 찾는 개발자
  • 모바일 우선 애플리케이션 및 백엔드 스토리지

고려 사항

  • AWS 자격 증명 설정이 필요합니다
  • S3 전용 작업에 제한됨
  • 내장된 파일 관리 기능 없음
  • 인터넷 연결에 따라 다릅니다
  • 인증은 외부에서 처리해야 합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

aws_s3_upload

A simple, convenient package for uploading to S3.

Heavily inspired by this stackoverflow answer

Getting Started

Having created credentials on AWS, upload a file like so:

AwsS3.uploadFile(
  accessKey: "AKxxxxxxxxxxxxx",
  secretKey: "xxxxxxxxxxxxxxxxxxxxxxxxxx",
  file: File("path_to_file"),
  bucket: "bucket_name",
  region: "us-east-2",
  metadata: {"test": "test"} // optional
);

Warning

Before using this package, consider if it's acceptable to include AWS keys in your final app. Doing so might be okay for internal or trusted apps, but think twice before including keys in an app published on the app store.

Motivation / Disclaimer

There already exists a number of Flutter plugins for interacting with S3, some of which are more actively maintained. This small library was built because the few I tried either failed to work out of the box, or required the use of a Pool ID and AWS Cognito, which my project doesn't use. YMMV.

카테고리

의존성

의존성 목록 4 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.