Skip to content

AWS SDK for Android 2.15.1

Compare
Choose a tag to compare
@aws-amplify-ops aws-amplify-ops released this 21 Aug 00:34

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
      );