目录

Push Kit 4.0.4 (2020-05-29)

Latest release: 4.0.4.301

New Features

  1. The HUAWEI Push Kit console can push messages to subscribers based on an expression formed by topic lists and a custom expression.

  2. The HUAWEI Push Kit console can push messages to all users (Beta).

  3. HUAWEI Push Kit supports the capability in Uplink Message Sending.

Push Kit 4.0.3 (2020-04-13)

Latest release: 4.0.3.301

New Features

  1. Some pages on the HUAWEI Push Kit console are optimized.

  2. The topic subscription function is available in all EMUI versions.

  3. Some capabilities for displaying notification messages in complex styles are incorporated into EMUI 9.1.x.

Push Kit 4.0.2 (2020-03-02)

Latest release: 4.0.2.300

New features

  1. Added parameters for the API used to send messages from the app server.

    Parameter

    Chang

    Description

    message.android.notification.inbox_contentNew

    Inbox-style notification messages.

    message.android.notification.buttons

    New

    Notification message with action buttons.

  2. Supported inbox-style notification messages.

  3. Supported notification messages with action buttons.

  4. Added the onTokenError method, which is the callback method for a token application failure.

  5. Optimized the style of messages sent from the HUAWEI Push Kit console.

Push Kit 4.0.1 (2020-01-23)

Latest release: 4.0.1.300

New features

Supported integrating the Push SDK into an app project in the Eclipse IDE.

Push Kit 4.0.0 (2020-01-15)

Latest release: 4.0.0.300

Feature description

  1. Added the function of displaying notification messages on the UI.

  2. Added the automatic initialization capability.

    When an app is started, HUAWEI Push Kit is automatically initialized and tokens are automatically applied for. This function is disabled by default and needs to be enabled for an app if necessary.

  3. Expanded the application scope of the following functions:

    Functions including topic subscription and unsubscription are available on devices running EMUI 8.1 (excluding a few early EMUI 8.1.N versions) or later versions.

  4. Added the function of sending messages to web apps through the WebPush agent.

  5. Added the function of sending messages to iOS apps through the APNs agent.

  6. Changed conditions for categorizing notification messages and data messages on the HUAWEI Push Kit server.

    Any messages that contain message.android.notification are notification messages.

  7. Modified methods of the RemoteMessage class.

    Method in SDK 4.0

    Method in SDK 3.0

    Field in Server RESTful API

    getOriginalUrgency()

    getOriginalPriority()

    message.android.urgency

    getUrgency()

    getPriority()

    N/A

    getDataOfMap()

    N/A

    message.data/message.android.data

    getToken()

    N/A

    N/A

  8. Added or modified methods of the RemoteMessage.Notification class.

    Method in SDK 4.0

    Method in SDK 3.0

    Field in Server RESTful API

    getClickAction()

    N/A

    message.android.notification.click_action.action

    getIntentUri()

    getClickAction()

    message.android.notification.click_action.intent

    getBadgeNumber()

    N/A

    message.android.notification.badge.set_num

    getTicker()

    N/A

    message.android.notification.ticker

    isAutoCancel()

    N/A

    message.android.notification.auto_cancel

    getWhen()

    N/A

    message.android.notification.when

    getImportance()

    N/A

    message.android.notification.importance

    isDefaultVibrate()

    N/A

    message.android.notification.use_default_vibrate

    isDefaultLight()

    N/A

    message.android.notification.use_default_light

    isDefaultSound()

    N/A

    message.android.notification.default_sound

    getVibrateConfig()

    N/A

    message.android.notification.vibrate_config

    getVisibility()

    N/A

    message.android.notification.visibility

    getLightSettings()

    N/A

    message.android.notification.light_settings

  9. Added and modified parameters for the API used to send messages from the app server.

    Parameters

    Change

    Description

    message.notification.image

    New

    Large icon on the right of a notification message.

    message.notification.urgency

    Modified

    This field is changed from priority.

    message.android.notification.click_action.action

    New

    This field is available when type is set to 1.

    message.android.notification.image

    Modified

    This field is changed from notify_icon.

    message.android.notification.badge.add_num

    Modified

    This field is changed from num.

    message.android.notification.badge.set_num

    New

    Badge number.

    message.android.notification.ticker

    New

    Content displayed on the status bar.

    message.android.notification.auto_cancel

    New

    Indicates whether an Android notification message is still displayed in the notification bar after a user taps the message.

    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

    Customized vibration mode for an Android notification message.

    message.android.notification.visibility

    New

    Android notification message visibility.

    message.android.notification.light_settings

    New

    Customized breathing light mode.

    message.android.notification.foreground_show

    New

    Indicates whether to display notification messages in the foreground when an app is running in the foreground.

    message.apns

    New

    Information about the message to be sent to an iOS app.

    message.webpush

    New

    New Information about the message to be sent to a web app.

Push Kit 3.0.0 (2019-10-08)

Push Kit SDK 3.0 developer documentation entry: https://developer.huawei.com/consumer/en/doc/development/HMS-3-Guides/push-introduction-v3

Push Kit 2.0.0

Push Kit SDK 2.0 developer documentation entry: https://developer.huawei.com/consumer/en/doc/development/HMS-2-Guides/hmssdk_huaweipush_introduction_agent

About SDK dependencies

  1. The SDK of the latest version runs on a mobile phone with HUAWEI HMS Core (APK) 4.0.0.300 or later installed. On a mobile phone that does not have HUAWEI HMS Core (APK) of 4.0.0.300 or later installed, the user will be prompted to install it when your app calls HUAWEI HMS Core.

  2. Basic features of HUAWEI Push Kit are available on most Huawei devices, whereas some advanced features are available only on Huawei devices running EMUI of the required versions. For details, see the EMUI Version-Dependent Features.

Tips:

If you have any questions on releasing your app in HUAWEI AppGallery, contact us via HMSCore@huawei.com.