Skip to content

Commit 837038a

Browse files
authored
[delivers #167300863] Update paho version for iot sdk to 1.2.2 (#1216)
1 parent 304679f commit 837038a

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log - AWS SDK for Android
22

3+
## [Release 2.16.1](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.16.1)
4+
5+
### Misc. Updates
6+
7+
- **AWS IoT**
8+
- AWS Android SDK for IoT now depends on the 1.2.2 version of the Paho Library org.eclipse.paho.client.mqttv3
9+
310
## [Release 2.16.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.16.0)
411

512
### New Features

aws-android-sdk-iot/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
api (project(":aws-android-sdk-core")){
3030
exclude group: "com.google.android", module: "android"
3131
}
32-
implementation "org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.1.0"
32+
implementation "org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.2"
3333
implementation "org.conscrypt:conscrypt-android:2.0.0"
3434

3535
testImplementation "junit:junit:4.12"

aws-android-sdk-iot/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<groupId>org.eclipse.paho</groupId>
2525
<artifactId>org.eclipse.paho.client.mqttv3</artifactId>
2626
<optional>false</optional>
27-
<version>1.1.0</version>
27+
<version>1.2.2</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>junit</groupId>
@@ -76,4 +76,4 @@
7676
</plugin>
7777
</plugins>
7878
</build>
79-
</project>
79+
</project>

aws-android-sdk-iot/src/test/java/com/amazonaws/mobileconnectors/iot/MockMqttClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class MockMqttClient extends MqttAsyncClient {
3535
IMqttDeliveryToken testDeliveryToken = new MqttDeliveryToken();
3636

3737
MockMqttClient() throws MqttException {
38-
super("local://mockendpoint.example.com", "mock-id");
38+
super("wss://mockendpoint.example.com", "mock-id");
3939
mockSubscriptions = new HashMap<String, Integer>();
4040
isConnected = false;
4141
throwsExceptionOnConnect = false;

0 commit comments

Comments
 (0)