Releases: aws-amplify/aws-sdk-android
AWS SDK for Android 2.16.4
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
- Added a new api to support CHAT media in Connect. See API reference (https://docs.aws.amazon.com/connect/latest/APIReference)
Bug Fixes
- Amazon S3
PutObjectResultobject 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
TransferServicetransitions to foreground from0to1because0is reserved and not recommended by Android.TransferServicewould 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
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
BasicAWSCredentialsinstead ofAWSMobileClientin Javadoc.
- Added warning against using
-
AWS Mobile Client
- During
signUp, when the user is confirmed, Cognito does not sendCognitoUserCodeDeliveryDetails
and it appears to be null when the SignUpResult is unmarshalled. Add a check before accessing theCognitoUserCodeDeliveryDetailsonly when the user is not confirmed. See issue #1264 for more details.
- During
AWS SDK for Android 2.16.2
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
- 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
-
Amazon Polly
SynthesizeSpeechPresignRequestnow supports the ability to specify the engine (standardor neural) for a request.
See the Amazon Polly documentation
for a discussion of the Engine. See Issue #1256.
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.
- 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.
-
AWS IoT
- Specified minimum SDK (11) and target SDK (27) version in
AndroidManifest.xmlfor IoT SDK. - Prevents unintended permission from being implied in
AndroidManifest.xml. See Issue #1234.
- Specified minimum SDK (11) and target SDK (27) version in
Misc. Updates
-
Amazon S3
- Added serialized name annotation to
TransferNetworkConnectionTypeenum values and added instrumentation tests.
- Added serialized name annotation to
-
Model updates for the following services
- Amazon Cognito Identity Provider
- Amazon Kinesis Firehose
- Amazon Lex
- Amazon Pinpoint
AWS SDK for Android 2.16.1
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:
assumeRoleWithSAMLdecodeAuthorizationMessage
- AWS Security Token Service client now supports two additional APIs:
-
Model updates for the following services
- Amazon Transcribe
- Amazon STS
AWS SDK for Android 2.16.0
New Features
-
AWS Mobile Client
- Breaking API Change
SignUpResultavailable in the user callback provided during sign up now contains UserSub(UID)- Deprecated APIs
getCredentialsProvider,setCredentialsProvider,initialize(Context)andinitialize(Context, AWSStartupHandler)have been removed confirmSignIn(final Map<String, String> signInChallengeResponse)now throwsIllegalStateExceptionifconfirmSignInis 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
- Breaking API Change
-
Amazon CognitoIdentityProvider
- Breaking API Change
SignUpHandlernow receivesSignUpResultupon success instead of a ConfirmationState andCognitoUserCodeDeliveryDetails signUpInBackgroundandsignUpnow receiveSignUpResultin theonSuccesscallback
- Breaking API Change
-
Amazon SNS
- Updated model to support latest Amazon SNS features such as
TagResourcefunction. This resolves Issue# 1020.
- Updated model to support latest Amazon SNS features such as
Misc. Updates
- Model updates for the following services
- Amazon SES
- Amazon SNS
- Amazon Textract
- Amazon Transcribe
AWS SDK for Android 2.15.2
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
- Fix issue where MobileClient would return invalid tokens after initialization when using Hosted UI.
- 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
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:
CognitoCachingCredentialsProviderCognitoUserPoolCognitoAuthAWSMobileClient
For more detail, see issues:
-
-
Amazon S3
-
Fixed a bug where multi-part uploads via
TransferUtilitywould fail to propagate tags toAmazon S3from theUserMetadatapassed through theObjectMetadata. 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
Bug Fixes
- AWS Core Runtime
- Update
LogFactory.getLogto 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
- Update
- 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 anUnknownHostExceptionor a corresponding RuntimeException would be thrown if connectivity is not present when network calls are made by the SDK. This fixes Issue#1092.
- Removed the check for INTERNET and ACCESS_NETWORK_STATE permissions while initializing
Misc. Updates
- Breaking Changes
- Removed deprecated SDKGlobalConfiguration options:
ENABLE_S3_SIGV4_SYSTEM_PROPERTYENFORCE_S3_SIGV4_SYSTEM_PROPERTY
- Removed deprecated SDKGlobalConfiguration options:
- Remove unused
mfaOptionproperty fromCognitoUserAttributesclass - Model updates for the following services
- AWS IoT
- Amazon Lex
- Amazon Rekognition
- Amazon AutoScaling
AWS SDK for Android 2.14.2
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);,
inAWSIotMqttManagerwhich accepts subscription status callback to notify users of the status of subscription operation.
See Issue#1005 for details.
- Added an overloaded version of
Misc. Updates
- Model updates for the following services
- Amazon Polly
AWS SDK for Android 2.14.1
New Features
- AWS Core Runtime
- Added support for
me-south-1- Middle East (Bahrain) region.
- Added support for
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)