AWS SDK for Android 2.11.1
sunchunqiang
released this
04 Feb 18:27
·
1377 commits
to main
since this release
New Features
- Amazon S3
- Add the ability to specify the type of network connection (
TransferNetworkConnectionType.ANY
- any network,TransferNetworkConnectionType.MOBILE
- mobile only,TransferNetworkConnectionType.WIFI
- WiFi only) for the transfers throughTransferUtilityOptions
. TheTransferUtilityOptions
is passed to theTransferUtility
object and is used for all the transfers that are initiated through this object. The network connection type can be passed while constructing theTransferUtilityOptions
object throughTransferUtilityOptions(int, TransferNetworkConnectionType)
. See pr #575. Thanks @nasdf!
- Add the ability to specify the type of network connection (
Bug Fixes
-
Amazon Cognito Identity Provider
- Fixed a bug that used a null username during custom auth challenge. See issue #657 & issue #583
-
AWS IoT
- Fixed a bug that caused some IoT connections to not reconnect after errors.
See PR #660.
Thanks @sklikowicz!
- Fixed a bug that caused some IoT connections to not reconnect after errors.
-
Amazon S3
- Improved the state, progress and error reporting when the transfers are interrupted.
- When the transfer is paused or cancelled by the user, the state is reported correctly.
- When the transfer is interrupted because of a network drop, the state is set to WAITING_FOR_NETWORK when the
TransferNetworkLossHandler
is used. - When the transfer is interrupted otherwise, the transfer is set to FAILED and the exception is reported via
TransferListener.onError
callback.
- Fixed the bug where progress is reported inaccurately (over 100%) when a transfer is paused by user or network drop and resumed before completion. See issue #677, issue #667, issue #616, issue #406
- Improved the state, progress and error reporting when the transfers are interrupted.
Enhancements
- Amazon Cognito Identity
- The Amazon Cognito Identity SDK now supports all Amazon Cognito Identity
APIs, including admin APIs that require developer credentials. Note that by
using admin APIs, you are inherently dealing with privileged functions that
could result in data loss of data if improperly used. See issue
#645
- The Amazon Cognito Identity SDK now supports all Amazon Cognito Identity
Misc. Updates
- Model updates for the following services
- AWS IoT
- Amazon Comprehend
- Amazon Cognito Identity Provider
- Amazon Kinesis Firehose
- Amazon Transcribe
- Amazon Pinpoint