Skip to content

Commit 88e24de

Browse files
committed
prepare 8.2.4 release
1 parent 1d677ad commit 88e24de

File tree

10 files changed

+37
-4
lines changed

10 files changed

+37
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
Following is change logs for recently release versions, you can refer to [releases page](https://github.com/leancloud/java-unified-sdk/releases) for more details.
44

5+
## 8.2.4 release
6+
7+
#### Break changes
8+
- None
9+
10+
#### New features
11+
- None
12+
13+
#### Optimization and fixed bugs
14+
- upgraded mixpush libraries: hms 5.3.0.304 -> 6.3.0.302, vivo 3.0.0.3_483 -> 3.0.0.4_484, xiaomi 4.8.2 -> 4.9.1;
15+
516
## 8.2.3 release
617

718
#### Break changes

android-sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ allprojects {
3030
}
3131

3232
ext {
33-
sdkVersion = "8.2.3"
33+
sdkVersion = "8.2.4"
3434
supportLibVersion = "26.1.0"
3535
converterVersion = "2.1.0"
3636
rxandroidVersion = "2.1.1"

android-sdk/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ org.gradle.jvmargs=-Xmx1536m
1515
# This option should only be used with decoupled projects. More details, visit
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
# org.gradle.parallel=true
18-
VERSION_NAME=8.2.3
18+
VERSION_NAME=8.2.4
1919
VERSION_CODE=2695
2020
GROUP=cn.leancloud
2121

android-sdk/mixpush-hms/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies {
6161

6262
implementation("cn.leancloud:realtime-core:${rootProject.ext.sdkVersion}")
6363

64-
implementation 'com.huawei.hms:push:5.3.0.304'
64+
implementation 'com.huawei.hms:push:6.3.0.302'
6565

6666
testImplementation 'junit:junit:4.12'
6767
androidTestImplementation 'androidx.test:runner:1.1.0'

android-sdk/mixpush-hms/src/main/java/cn/leancloud/LCHMSMessageService.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package cn.leancloud;
22

3+
import android.os.Bundle;
4+
35
import cn.leancloud.json.JSON;
46
import com.huawei.hms.push.HmsMessageService;
57
import com.huawei.hms.push.RemoteMessage;
@@ -62,6 +64,16 @@ public void onNewToken(String token) {
6264
updateAVInstallation(token);
6365
}
6466

67+
/**
68+
* 服务端更新token回调方法。
69+
* @param token push token
70+
* @param bundle resource bundle
71+
*/
72+
@Override
73+
public void onNewToken(String token, Bundle bundle) {
74+
onNewToken(token);
75+
}
76+
6577
/**
6678
* 申请token失败回调方法
6779
* @param exception exception
@@ -71,6 +83,16 @@ public void onTokenError(Exception exception) {
7183
LOGGER.w("failed to apply token. cause: " + exception.getMessage());
7284
}
7385

86+
/**
87+
* 申请token失败回调方法
88+
* @param exception exception
89+
* @param bundle resource bundle
90+
*/
91+
@Override
92+
public void onTokenError(Exception exception, Bundle bundle) {
93+
onTokenError(exception);
94+
}
95+
7496
public static void updateAVInstallation(String hwToken) {
7597
if (StringUtil.isEmpty(hwToken)) {
7698
return;

android-sdk/mixpush-vivo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies {
6060

6161
implementation("cn.leancloud:realtime-core:${rootProject.ext.sdkVersion}")
6262

63-
implementation files("libs/vivo_pushSDK_v3.0.0.3_483.aar")
63+
implementation files("libs/vivo_pushSDK_v3.0.0.4_484.aar")
6464

6565
testImplementation 'junit:junit:4.12'
6666
androidTestImplementation 'androidx.test:runner:1.1.0'
-160 KB
Binary file not shown.
158 KB
Binary file not shown.
-742 KB
Binary file not shown.
728 KB
Binary file not shown.

0 commit comments

Comments
 (0)