目录

Getting Started

Quick Tutorial

Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate Push Kit into an app.

Development Environment

If you need to use multiple HMS Core kits, use the latest versions required for these kits.

Supported Devices

Device Type

OS Version

HMS Core (APK) Version

Huawei phone and tablet

EMUI 3.0 or later

3.0.0 or later

Non-Huawei phone and tablet

Android 4.4 - 13

Development Process

Follow the steps in the following process when you develop an app.

Step

Description

Configuring App Information in AppGallery Connect

Before you start developing an app, configure app information in AppGallery Connect.

Integrating the HMS Core SDK

Integrate the Push SDK locally or remotely.

Configuring the AndroidManifest.xml File

After integrating the Push SDK, register your service in application in the AndroidManifest.xml file to obtain push tokens and receive data messages.

Configuring Obfuscation Scripts

Configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated.

Developing Basic Capabilities

Basic capabilities include obtaining and deleting a token, sending test messages, obtaining message content, customizing actions to be triggered upon notification message tapping, and configuring whether to display notification messages.

(Optional) Developing Enhanced Capabilities

Enhanced capabilities include topic-based message sending, automated notification, and multiple senders.

(Optional) Developing Other Capabilities

Other capabilities include customizing notification channels, overwriting offline users' messages, and condition-based messaging.

(Optional) Notification Message Styles

Message styles include the badge, large text, inbox, and button.

Pre-release Check

Use the tool offered by Huawei to automatically check your app before release.

App Release

Submit your app for release. The review process will take 1 to 2 working days.