AWS SDK for iOS 2.11.0
New Features
- AWSCore
- Added the option of passing the configuration as an in-memory object (i.e.
[String: Any]
/NSDictionary
) instead of the defaultawsconfiguration.json
through the new APIAWSInfo.configureDefaultAWSInfo(config: [String: Any])
.
- Added the option of passing the configuration as an in-memory object (i.e.
- AWSMobileClient
- Based on the ability to pass a custom configuration through an in-memory object described above, exposed a new initializer that accepts a custom configuration:
AWSMobileClient.init(configuration: [String: Any])
.- Changed
AWSMobileClient.sharedInstance()
in favor ofAWSMobileClient.default()
since it better communicates the API intent. ThesharedInstance
is deprecated as of now and still available for backwards compatibility. - Refer to Issue #1649 for the feature request details.
- Changed
- When
AWSMobileClient.signOut
is called all existing credential fetch are cancelled.
- Based on the ability to pass a custom configuration through an in-memory object described above, exposed a new initializer that accepts a custom configuration:
Bug Fixes
- AWSPinpoint
- The limit of "Maximum number events in a request" defined by the Pinpoint service limits (100 per request) is now enforced by the client. When recording more than 100 events the client will submit multiple batches of 100 to avoid a service failure. See Issue #1680 and PR #1743 for details.
- AWSMobileClient
- Amazon S3
- TransferUtility now properly reports progress on failed and restarted uploads. See Issue #1512, PR #1813.
- Fix an issue where getIdentity call fails without waiting. See PR #1824
- Fix an issue with signUp API not returning the correct status back. See #1469 and PR #1844.
- AWSCore
- Fixed a bug where credentials would be retrieved from the keychain instead of in-memory. See #1554
and #1691. Thanks @phanchutoan!
- Fixed a bug where credentials would be retrieved from the keychain instead of in-memory. See #1554
- S3
- Fixed issue with uploading large files in transferutility. See #1836. Thanks @benmckillop!
Misc. Updates
-
Model updates for the following services
- Amazon EC2
- Amazon Transcribe
- Amazon SQS
- Amazon Lambda
-
AWSMobileClient
- Breaking API change Removed deprecated methods inside AWSMobileClient. See PR #1738