Skip to content

Releases: aws-amplify/aws-sdk-android

AWS SDK for Android 2.16.4

22 Nov 22:24

Choose a tag to compare

New Features

  • Amazon Connect Participant

    • Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale. Amazon Connect enables customer contacts through voice or chat. The Amazon Connect Participant Service is used by chat participants, such as agents and customers. See Amazon Connect Participant Service Documentation (link https://aws.amazon.com/connect/) for more details.
  • Amazon Connect

Bug Fixes

  • Amazon S3
    • PutObjectResult object will now contain content MD5 that was used in data validation (if available). See Issue# 1236.
    • Changed the default notification ID of the notification that will be displayed when the TransferService transitions to foreground from 0 to 1 because 0 is reserved and not recommended by Android. TransferService would fail to transition to foreground if notification ID is 0. See Android guide for details.

Misc. Updates

  • Model updates for the following services
    • Amazon Connect
    • Amazon Connect Participant

AWS SDK for Android 2.16.3

06 Nov 00:30

Choose a tag to compare

New Features

  • AWS IoT
    • Added proxy support for connecting to AWS IoT via Keystore over port 8883

Bug Fixes

  • AWS Core

    • Added warning against using BasicAWSCredentials instead of AWSMobileClient in Javadoc.
  • AWS Mobile Client

    • During signUp, when the user is confirmed, Cognito does not send CognitoUserCodeDeliveryDetails
      and it appears to be null when the SignUpResult is unmarshalled. Add a check before accessing the CognitoUserCodeDeliveryDetails only when the user is not confirmed. See issue #1264 for more details.

AWS SDK for Android 2.16.2

31 Oct 23:42

Choose a tag to compare

New Features

  • AWS Core

    • Now supports calling LogFactory.setLevel(Level) to set a global level of which logs will be output. Any logs below the set level will not be output
      You can also call Log.setLevel(Level) on a specific Logger to limit the logs which are output by a specific class. Addresses issue #1174
  • Amazon Polly

Bug Fixes

  • AWSMobileClient

    • Sets default confirmSignup behavior to prevent a user from signing up with the same email/phone as another user. This is the same as iOS.
      NOTE: When you upgrade to this version, your app behavior will change from allowing users to sign up with the same email/phone as another user
      (and just overriding the existing user) to giving the user an error if they attempt to do that.
  • AWS IoT

    • Specified minimum SDK (11) and target SDK (27) version in AndroidManifest.xml for IoT SDK.
    • Prevents unintended permission from being implied in AndroidManifest.xml. See Issue #1234.

Misc. Updates

  • Amazon S3

    • Added serialized name annotation to TransferNetworkConnectionType enum values and added instrumentation tests.
  • Model updates for the following services

    • Amazon Cognito Identity Provider
    • Amazon Kinesis Firehose
    • Amazon Lex
    • Amazon Pinpoint

AWS SDK for Android 2.16.1

01 Oct 20:41

Choose a tag to compare

Misc. Updates

  • AWS IoT

    • AWS Android SDK for IoT now depends on the 1.2.2 version of the Paho Library org.eclipse.paho.client.mqttv3
  • AWS Security Token Service

    • AWS Security Token Service client now supports two additional APIs:
      • assumeRoleWithSAML
      • decodeAuthorizationMessage
  • Model updates for the following services

    • Amazon Transcribe
    • Amazon STS

AWS SDK for Android 2.16.0

18 Sep 19:40

Choose a tag to compare

New Features

  • AWS Mobile Client

    • Breaking API Change
      • SignUpResult available in the user callback provided during sign up now contains UserSub(UID)
      • Deprecated APIs getCredentialsProvider, setCredentialsProvider, initialize(Context) and initialize(Context, AWSStartupHandler) have been removed
      • confirmSignIn(final Map<String, String> signInChallengeResponse) now throws IllegalStateException if confirmSignIn is called after signIn has succeeded. This matches the behavior of the overloaded version of this method, viz. confirmSignIn(final String signInChallengeResponse, final Callback<SignInResult> callback)
    • AWSMobileClient now supports Cognito Custom Authentication flow. See relevant cognito docs and amplify docs for details
  • Amazon CognitoIdentityProvider

    • Breaking API Change SignUpHandler now receives SignUpResult upon success instead of a ConfirmationState and CognitoUserCodeDeliveryDetails
    • signUpInBackground and signUp now receive SignUpResult in the onSuccess callback
  • Amazon SNS

    • Updated model to support latest Amazon SNS features such as TagResource function. This resolves Issue# 1020.

Misc. Updates

  • Model updates for the following services
    • Amazon SES
    • Amazon SNS
    • Amazon Textract
    • Amazon Transcribe

AWS SDK for Android 2.15.2

28 Aug 22:43

Choose a tag to compare

Bug Fixes

  • AWS Mobile Client
    • Fix issue where MobileClient would return invalid tokens after initialization when using Hosted UI.
      See issue #873 and
      issue #888
  • Amazon Cognito Identity Provider
    • Use internal username for computing secret hash that is passed in challenge response. See Issue# 889 for details

Misc. Updates

  • Model updates for the following services
    • Amazon Connect
    • Amazon Rekognition
    • Amazon Transcribe

AWS SDK for Android 2.15.1

21 Aug 00:34

Choose a tag to compare

Bug Fixes

  • AWS Core Runtime

    • Fixed a bug where encrypted authentication data persisted by the SDK could not be recovered due to:

      • The encryption key being removed
      • The encryption key being replaced
      • The encryption key not being recoverable by the OS

      These conditions formerly resulted in an app crash. Now, the errors are logged (without logging sensitive data) and the decryption attempt returns null, as if the data simply isn't present in the persistent store.

      Classes affected:

      • CognitoCachingCredentialsProvider
      • CognitoUserPool
      • CognitoAuth
      • AWSMobileClient

      For more detail, see issues:

  • Amazon S3

    • Fixed a bug where multi-part uploads via TransferUtility would fail to propagate tags to Amazon S3 from the UserMetadata passed through the ObjectMetadata. See Issue#541.

    • The following code should now attach a tag for both single-part and multi-part uploads:

      ObjectMetadata metadata = new ObjectMetadata();
      metadata.addUserMetadata(Headers.S3_TAGGING, "key=value");
      TransferObserver observer = transferUtility.upload(
      	file.getName(),
      	file,
      	metadata
      );

AWS SDK for Android 2.15.0

19 Aug 20:04

Choose a tag to compare

Bug Fixes

  • AWS Core Runtime
    • Update LogFactory.getLog to automatically truncate the log tag to be within 23 character limit imposed by Android for Nougat(7.0) releases and prior(API <= 23). See issue #1103
  • Amazon Pinpoint
    • Removed the check for INTERNET and ACCESS_NETWORK_STATE permissions while initializing PinpointManager. These are normal permissions and therefore are not required to be checked before performing corresponding app-op. This changes Pinpoint SDK behavior to match that of our other SDKs where an UnknownHostException or a corresponding RuntimeException would be thrown if connectivity is not present when network calls are made by the SDK. This fixes Issue#1092.

Misc. Updates

  • Breaking Changes
    • Removed deprecated SDKGlobalConfiguration options:
      • ENABLE_S3_SIGV4_SYSTEM_PROPERTY
      • ENFORCE_S3_SIGV4_SYSTEM_PROPERTY
  • Remove unused mfaOption property from CognitoUserAttributes class
  • Model updates for the following services
    • AWS IoT
    • Amazon Lex
    • Amazon Rekognition
    • Amazon AutoScaling

AWS SDK for Android 2.14.2

05 Aug 22:17

Choose a tag to compare

New Features

  • AWS IoT
    • Added an overloaded version of subscribeToTopic() method,
      public void subscribeToTopic(final String topic, final AWSIotMqttQos qos, final AWSIotMqttSubscriptionStatusCallback subscriptionStatusCallback, final AWSIotMqttNewMessageCallback callback);,
      in AWSIotMqttManager which accepts subscription status callback to notify users of the status of subscription operation.
      See Issue#1005 for details.

Misc. Updates

  • Model updates for the following services
    • Amazon Polly

AWS SDK for Android 2.14.1

30 Jul 17:13

Choose a tag to compare

New Features

  • AWS Core Runtime
    • Added support for me-south-1 - Middle East (Bahrain) region.

Bug Fixes

  • AWS Core Runtime
    • Fixed response unmarshalling when response is gzip encoded without a CRC32 checksum. Also fixes bug decoding Kinesis responses with GZIP encoding.
  • Amazon Kinesis Video
    • Fixed a bug when CreateStreamRequest is initialized without setting Tags, auto-generated empty HashMap of Tags would cause ValidationException from Kinesis Video.
    • Fixed incorrect timestamp unit for encoder input caused high bitrate issue for the stream.

Misc. Updates

  • Model updates for the following services
    • Amazon Comprehend
    • Amazon Security Token Service (STS)