| SDK version for Android: com.huawei.hms:push:6.13.0.301 Modified Features Fixed stability and performance issues. To use the version, you only need to update the version number and do not need to modify any code for adaptation. |
Note that if you have any questions about integrating the SDK or releasing your app on HUAWEI AppGallery, submit a ticket to us, and we will get back to you soon.
| SDK version for Android: com.huawei.hms:push:6.13.0.300 Modified Features Adapted to Android 14 (targetSdkVersion set to 34). To use the version, you only need to update the version number and do not need to modify any code for adaptation. |
| SDK version for Android: com.huawei.hms:push:6.12.0.300 Modified Features Fixed stability and performance issues. To use the version, you only need to update the version number and do not need to modify any code for adaptation. |
| SDK version for Android: com.huawei.hms:push:6.11.0.300 Modified Features Fixed stability and performance issues. To use the version, you only need to update the version number and do not need to modify any code for adaptation. |
| SDK version for Android: com.huawei.hms:push:6.10.0.300 Modified Features Resolved a performance-related issue. You do not need to do anything. |
| SDK version for Android: com.huawei.hms:push:6.9.0.300 Modified Features Resolved a performance-related issue. You do not need to do anything. |
| SDK version for Android: com.huawei.hms:push:6.7.0.300 Modified Features
|
| SDK version for Android: com.huawei.hms:push:6.5.0.300 Modified Features Fixed some issues for adapting to Android 12 (targetSdkVersion=31). |
| SDK version for Android: com.huawei.hms:push:6.3.0.304 Modified Features Deleted the capability of prompting users to install HMS Core (APK). |
| SDK version for Android: com.huawei.hms:push:6.3.0.302 Modified Features Fixed some issues for adapting to Android 12 (targetSdkVersion=31). |
| SDK version for Android: com.huawei.hms:push:6.1.0.300 Modified Features Preset configuration of the <queries> element so that your app can properly call HMS Core (APK) on Android 11. Your Android Studio version must be 3.6.1 or later, and your Android Gradle plugin version must be 3.5.4 or later. |
| SDK version for Android: com.huawei.hms:push:5.3.0.304 New Features Added the getAnalyticInfo and getAnalyticInfoMap methods, which are used to obtain bi_tag (indicates the tag of a message in a batch delivery task). Modified Features Forbidden going to the page of another app through a custom intent URL from the current app. Resolved the issue about the call of Implicit PendingIntent. |
| SDK version for Android: com.huawei.hms:push:5.1.1.301 Modified Features Discarded the getInstalledPackages method for reading the app list. |
| SDK version for Android: com.huawei.hms:push:5.0.4.302 New Features
Modified Features Modified getFrom to obtain a project ID. |
| SDK version for Android: com.huawei.hms:push:5.0.2.301 Modified Features
|
| SDK version for Android: com.huawei.hms:push:5.0.1.300 Modified Features
|
| SDK version for Android: com.huawei.hms:push:5.0.0.300 New Features Supported automated notification. |
| SDK version for Android: com.huawei.hms:push:4.0.4.301 New Features
|
| SDK version for Android: com.huawei.hms:push:4.0.3.301 New Features
|
| SDK version for Android: com.huawei.hms:push:4.0.2.300 New Features
|
| SDK version for Android: com.huawei.hms:push:4.0.1.300 New Features Supported the HMS Core SDK integration into your Eclipse project. |
SDK version for Android: com.huawei.hms:push:4.0.0.300
New Features
Supported the topic subscription and unsubscription on devices running EMUI 8.1 (excluding a few early device models running EMUI 8.1) or later.
A message is considered as a notification message as long as its body contains message.notification or message.android.notification.
| Method in SDK 4.0 | Method in SDK 3.0 | Parameter in REST APIs of the Push Kit Server |
|---|---|---|
| getOriginalUrgency | getOriginalPriority | message.android.urgency |
| getUrgency | getPriority | - |
| getDataOfMap | - | message.data/message.android.data |
| getToken | - | - |
| Method in SDK 4.0 | Method in SDK 3.0 | Parameter in REST APIs of the Push Kit Server |
|---|---|---|
| getClickAction | - | message.android.notification.click_action.action |
| getIntentUri | getClickAction | message.android.notification.click_action.intent |
| getBadgeNumber | - | message.android.notification.badge.set_num |
| getTicker | - | message.android.notification.ticker |
| getWhen | - | message.android.notification.when |
| getImportance | - | message.android.notification.importance |
| isDefaultVibrate | - | message.android.notification.use_default_vibrate |
| isDefaultLight | - | message.android.notification.use_default_light |
| isDefaultSound | - | message.android.notification.default_sound |
| getVibrateConfig | - | message.android.notification.vibrate_config |
| getVisibility | - | message.android.notification.visibility |
| getLightSettings | - | message.android.notification.light_settings |
| Parameter | Change | Description |
|---|---|---|
| message.notification.image | New | App icon on the right of a notification message. |
| message.notification.urgency | Modified | This parameter is changed from priority. |
| message.android.notification.click_action.action | New | This parameter is available when type is set to 1. |
| message.android.notification.image | Modified | This parameter is changed from notify_icon. |
| message.android.notification.badge.add_num | Modified | This parameter is changed from num. |
| message.android.notification.badge.set_num | New | Badge count. |
| message.android.notification.ticker | New | Ticker text displayed in the status bar. |
| message.android.notification.when | New | Message sorting event. |
| message.android.notification.importance | New | Android notification message priority. |
| message.android.notification.use_default_vibrate | New | Indicates whether to use the default vibration mode. |
| message.android.notification.use_default_light | New | Indicates whether to use the default breathing light mode. |
| message.android.notification.vibrate_config | New | Custom vibration mode for Android notification messages on devices (excluding the devices running EMUI 11). |
| message.android.notification.visibility | New | Android notification message visibility. |
| message.android.notification.light_settings | New | Custom breathing light mode. |
| message.android.notification.foreground_show | New | Indicates whether to display notification messages when an app is running in the foreground. |
| message.apns | New | Structure of the message sent to iOS apps. |
| message.webpush | New | Structure of the message sent to web apps. |