flutter_ota_kit_aws 0.1.2
flutter_ota_kit_aws: ^0.1.2 copied to clipboard
AWS S3 storage + S3/DynamoDB database plugins for flutter_ota_kit (faithful port of hot-updater plugins/aws).
flutter_ota_kit_aws #
AWS backend for flutter_ota_kit: bundle metadata in an S3-backed blob
database and artifacts in S3 (with optional CloudFront signed URLs). Used
by the flutter-ota CLI and the Flutter SDK's FlutterPatcher.configureAws(...).
What's inside #
s3Database/S3DatabaseConfig— bundle metadata stored as S3 objects.s3Storage/AwsS3StorageConfig— artifact storage in S3.- CloudFront signed URLs:
cloudfrontSignedUrl,verifyCloudfrontSignedUrl, andwithCloudFrontSignedUrl(...). AwsS3ClientLike/AwsCloudFrontClientLiketest seams.
Configuration (environment) #
| Variable | Purpose |
|---|---|
AWS_REGION |
S3 region (falls back to AWS_REGION/AWS_DEFAULT_REGION if unset). |
AWS_BUCKET |
Target bucket name. |
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY |
Credentials. |
AWS_ENDPOINT |
Optional custom endpoint (e.g. MinIO). |
AWS_BASE_PATH |
Optional key prefix. |
AWS_SESSION_TOKEN |
Optional temporary session token. |
License #
MIT.