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

TransferNetworkConnectionType.MOBILE doesn't work when WiFi is connected on "no internet" network (API 25) #3531

Open
draskori opened this issue Feb 9, 2024 · 1 comment
Labels
bug Something isn't working s3 Issues with the AWS Android SDK for Simple Storage Service (S3).

Comments

@draskori
Copy link

draskori commented Feb 9, 2024

I need to be connected on WiFi network which has no internet gateaway and to communicate through mobile connection with server and S3 uploads. When I specify TransferNetworkConnectionType.MOBILE in TransferUtility, observers get status WAITING_FOR_NETWORK and doesn't start (even if I turn off WiFi after that).
If WiFi is off when starting uploads then it works ok. On higher Android levels (Android 10+) it works ok.

  • AWS Android SDK Version: 2.75.0
  • Device: M3 Mobile SM15
  • Android Version: 7.1.1
@tylerjroach
Copy link
Member

Hi @draskori,

Older versions of Android OS were not as intelligent as newer versions in managing multiple network connection types. If you were on WIFI, there are limitations around managing a cellular connection as well. More recent versions of Android are able to gracefully handle this.

I'll try and see what Android OS documentation I can find on this. However, it is unexpected that even after turning WIFI off, the upload wont begin. Someone on our team will try to replicate.

@tylerjroach tylerjroach added the bug Something isn't working label Feb 12, 2024
@sktimalsina sktimalsina added the s3 Issues with the AWS Android SDK for Simple Storage Service (S3). label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working s3 Issues with the AWS Android SDK for Simple Storage Service (S3).
Projects
None yet
Development

No branches or pull requests

3 participants