Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 Transfer network option (wifi/mobile/any) #2303

Open
tylerjroach opened this issue Feb 22, 2023 · 2 comments
Open

S3 Transfer network option (wifi/mobile/any) #2303

tylerjroach opened this issue Feb 22, 2023 · 2 comments
Labels
feature-parity Feature missing from this library but available on other ones feature-request Request a new feature storage Related to the Storage category/plugins

Comments

@tylerjroach
Copy link
Member

Discussed in https://github.com/aws-amplify/amplify-android/discussions/2298

Originally posted by waertf February 20, 2023
TransferNetworkConnectionType
The TransferNetworkConnectionType option allows you to restrict the type of network connection (WiFi / Mobile / ANY) over which the data can be transferred to Amazon S3.

TransferUtilityOptions options = new TransferUtilityOptions(10, TransferNetworkConnectionType.WIFI);

TransferUtility transferUtility = TransferUtility.builder()
// Pass-in S3Client, Context, AWSConfiguration/DefaultBucket Name
.transferUtilityOptions(options)
.build();
copy
By specifying TransferNetworkConnectionType.WIFI , data transfers to and from S3 will only happen when the device is on a WiFi connection

@tylerjroach tylerjroach added storage Related to the Storage category/plugins pending-triage Issue is pending triage feature-parity Feature missing from this library but available on other ones labels Feb 22, 2023
@dengdan154 dengdan154 added the p2 label Feb 23, 2023
@sdhuka sdhuka removed the p2 label Feb 23, 2023
@div5yesh div5yesh removed the pending-triage Issue is pending triage label Feb 28, 2023
@phantumcode phantumcode added the feature-request Request a new feature label Jul 1, 2024
@martinxsliu
Copy link

Hi team, what is the status of this feature request? The linked discussion is no longer visible.

We are looking to upload large (1GB+) video files to S3 and it is a deal breaker to not have the option to transfer when on Wifi only. The old AWS Android SDK supports this feature and it is unfortunate that this package does not, because it prevents us from using this package despite all the other nice features it has.

@github-actions github-actions bot added the pending-maintainer-response Issue is pending response from an Amplify team member label Oct 29, 2024
@mattcreaser
Copy link
Member

Hi @martinxsliu. This feature has not yet been prioritized. I'll highlight this to the team to see if we can get some traction. For the time being you should continue to use the AWS SDK for Android.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify team member label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-parity Feature missing from this library but available on other ones feature-request Request a new feature storage Related to the Storage category/plugins
Projects
None yet
Development

No branches or pull requests

7 participants