Skip to content

AWS SDK for Android 2.11.1

Compare
Choose a tag to compare
@sunchunqiang 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 through TransferUtilityOptions. The TransferUtilityOptions is passed to the TransferUtility object and is used for all the transfers that are initiated through this object. The network connection type can be passed while constructing the TransferUtilityOptions object through TransferUtilityOptions(int, TransferNetworkConnectionType). See pr #575. Thanks @nasdf!

Bug Fixes

  • Amazon Cognito Identity Provider

  • AWS IoT

    • Fixed a bug that caused some IoT connections to not reconnect after errors.
      See PR #660.
      Thanks @sklikowicz!
  • 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

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

Misc. Updates

  • Model updates for the following services
    • AWS IoT
    • Amazon Comprehend
    • Amazon Cognito Identity Provider
    • Amazon Kinesis Firehose
    • Amazon Transcribe
    • Amazon Pinpoint