Skip to content

Commit 85e9e84

Browse files
author
AWS
committed
AWS SDK for Android 2.8.0
1 parent 7b06d89 commit 85e9e84

File tree

142 files changed

+4784
-1171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+4784
-1171
lines changed

CHANGELOG.md

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.8.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.8.0)
4+
5+
### New Features
6+
7+
* ** AWS Mobile Client**
8+
* The `AWSMobileClient` provides client APIs and building blocks for developers who want to create user authentication experiences. It supports the following new features:
9+
- User state tracking: `AWSMobileClient` offers on-demand querying for the “login state” of a user in the application.
10+
- Credentials management: Automatic refreshing of `Cognito User Pools` `JWT Token` and `AWS Credentials` from `Cognito Identity`.
11+
- Offline support: `AWSMobileClient` is optimized to account for applications transitioning from offline to online connectivity, and refreshing credentials at the appropriate time so that errors do not occur when actions are taken and connectivity is not available.
12+
- Drop-in Auth UI: `AWSMobileClient` client supports easy “drop-in” UI for your application.
13+
- Simple, declarative APIs `signUp`, `signIn`, `confirmSignIn`, etc.
14+
15+
> Note: The existing methods of `AWSMobileClient` are deprecated and will be removed in a future minor version. `AWSMobileClient` now takes a dependency on `AWSCognitoIdentityProvider`(Cognito User Pools SDK) package to offer integration with `CognitoUserPools`. When using the new drop-in UI, `AWSAuthUI` and `Social sign-in` features continue to be pluggable dependencies for `AWSMobileClient`.
16+
17+
All documentation is now centralized at https://aws-amplify.github.io/
18+
19+
### Enhancements
20+
21+
* **Amazon Kinesis Video Streams**
22+
* Improve exception handling.
23+
* Lower default memory allocation to 385MB to reduce crashes from over-allocation.
24+
* **Breaking API Changes**
25+
* Remove `streamName` parameter from `KinesisVideoClient.registerMediaSource()` as `MediaSource` already has the stream name in `StreamInfo`.
26+
* Add `KinesisVideoClient.unregisterMediaSource()` to remove `MediaSource` to `KinesisVideoProducerStream` binding from `KinesisVideoClient`. Customers can use `unregisterMediaSource()` after they stop streaming, so `MediaSource` data will not to be sent to Kinesis Video Streams.
27+
* Add `getStreamInfo()` to `MediaSource` instead of `MediaSourceConfiguration`. If customers have implemented their own `MediaSource` and `MediaSourceConfiguration`, they would need to provide stream information via `MediaSource.getStreamInfo()`. The `MediaSourceConfiguration.getStreamInfo()` will not work.
28+
* The following classes are no longer publicly available.
29+
* `MediaSource`
30+
* `MediaSourceConfiguration`
31+
* `MediaSourceSink`
32+
* `AbstractKinesisVideoClient`
33+
* `NativeKinesisVideoClient`
34+
* `BytesGenerator`
35+
* `BytesMediaSource`
36+
* `BytesMediaSourceConfiguration`
37+
* `ProducerStreamSink`
38+
* `KinesisVideoServiceClient`
39+
* `NativeKinesisVideoProducerJni`
40+
* `NativeKinesisVideoProducerStream`
41+
* `NativeLibraryLoader`
42+
* `KinesisVideoMetrics`
43+
* `KinesisVideoProducer`
44+
* `KinesisVideoProducerStream`
45+
* `KinesisVideoStreamMetrics`
46+
* `ReadResult`
47+
* `ServiceCallbacks`
48+
* `com.amazonaws.kinesisvideo.service.exception.AccessDeniedException`
49+
* `com.amazonaws.kinesisvideo.service.exception.AmazonServiceException`
50+
* `com.amazonaws.kinesisvideo.service.exception.ResourceInUseException`
51+
* `com.amazonaws.kinesisvideo.service.exception.ResourceNotFoundException`
52+
* `AckConsumer`
53+
* `BlockingAckConsumer`
54+
* `DefaultServiceCallbacksImpl`
55+
356
## [Release 2.7.7](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.7.7)
457

558
### Bug Fixes
@@ -1038,4 +1091,4 @@
10381091
### Bug Fixes
10391092
- **Amazon S3**: Fixed an issue that occurs when required headers are not properly signed. This issue affects S3 in two regions: Frankfurt (eu-central-1) and China (cn-north-1). [#42](https://github.com/aws/aws-sdk-android/issues/42)
10401093
- **AWS Core Runtime Library**: Fixed an issue in Maven distribution where an incorrect version string is set in "User-Agent".
1041-
1
1094+
1

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ apply plugin: 'kotlin-android'
55
apply plugin: 'kotlin-android-extensions'
66

77
android {
8-
compileSdkVersion 26
8+
compileSdkVersion 27
99
defaultConfig {
1010
applicationId "com.amazonaws.mobileconnectors.demo.awssdkforandroid"
1111
minSdkVersion 15
12-
targetSdkVersion 26
12+
targetSdkVersion 27
1313
versionCode 1
1414
versionName "1.0"
1515
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -25,7 +25,7 @@ android {
2525
dependencies {
2626
implementation fileTree(dir: 'libs', include: ['*.jar'])
2727
implementation"org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
28-
implementation 'com.android.support:appcompat-v7:26.+'
28+
implementation 'com.android.support:appcompat-v7:27.+'
2929
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
3030
testImplementation 'junit:junit:4.12'
3131
androidTestImplementation 'com.android.support.test:runner:1.0.2'

aws-android-sdk-apigateway-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<parent>
1313
<groupId>com.amazonaws</groupId>
1414
<artifactId>aws-android-sdk-pom</artifactId>
15-
<version>2.7.7</version>
15+
<version>2.8.0</version>
1616
</parent>
1717

1818
<dependencies>
1919
<dependency>
2020
<groupId>com.amazonaws</groupId>
2121
<artifactId>aws-android-sdk-core</artifactId>
2222
<optional>false</optional>
23-
<version>2.7.7</version>
23+
<version>2.8.0</version>
2424
</dependency>
2525
</dependencies>
2626

aws-android-sdk-auth-core/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 26
4+
compileSdkVersion 27
55

66
defaultConfig {
77
minSdkVersion 11
8-
targetSdkVersion 26
8+
targetSdkVersion 27
99
versionCode 1
1010
versionName "1.0"
1111

aws-android-sdk-auth-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.7.7</version>
24+
<version>2.8.0</version>
2525
</parent>
2626

2727
<dependencies>
2828
<dependency>
2929
<groupId>com.amazonaws</groupId>
3030
<artifactId>aws-android-sdk-core</artifactId>
3131
<optional>false</optional>
32-
<version>2.7.7</version>
32+
<version>2.8.0</version>
3333
</dependency>
3434

3535
<dependency>

aws-android-sdk-auth-facebook/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 26
4+
compileSdkVersion 27
55

66
defaultConfig {
77
minSdkVersion 11
8-
targetSdkVersion 26
8+
targetSdkVersion 27
99
versionCode 1
1010
versionName "1.0"
1111

aws-android-sdk-auth-facebook/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.7.7</version>
24+
<version>2.8.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -36,7 +36,7 @@
3636
<groupId>com.amazonaws</groupId>
3737
<artifactId>aws-android-sdk-auth-core</artifactId>
3838
<optional>false</optional>
39-
<version>2.7.7</version>
39+
<version>2.8.0</version>
4040
<type>aar</type>
4141
</dependency>
4242
<dependency>

aws-android-sdk-auth-google/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 26
4+
compileSdkVersion 27
55

66
defaultConfig {
77
minSdkVersion 11
8-
targetSdkVersion 26
8+
targetSdkVersion 27
99
versionCode 1
1010
versionName "1.0"
1111

aws-android-sdk-auth-google/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.amazonaws</groupId>
2323
<artifactId>aws-android-sdk-pom</artifactId>
24-
<version>2.7.7</version>
24+
<version>2.8.0</version>
2525
</parent>
2626

2727
<repositories>
@@ -40,7 +40,7 @@
4040
<groupId>com.amazonaws</groupId>
4141
<artifactId>aws-android-sdk-auth-core</artifactId>
4242
<optional>false</optional>
43-
<version>2.7.7</version>
43+
<version>2.8.0</version>
4444
<type>aar</type>
4545
</dependency>
4646

aws-android-sdk-auth-ui/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.library'
22

33
android {
4-
compileSdkVersion 26
4+
compileSdkVersion 27
55

66
defaultConfig {
77
minSdkVersion 23
8-
targetSdkVersion 26
8+
targetSdkVersion 27
99
versionCode 1
1010
versionName "1.0"
1111

0 commit comments

Comments
 (0)