Before developing your app, you can follow instructions in the codelab to experience how to quickly integrate Push Kit into an app.
Android Studio version: Android Studio Chipmunk | 2021.2.1 or later
If you need to use multiple HMS Core kits, use the latest versions required for these kits.
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 |
Follow the steps in the following process when you develop an app.
Step | Description |
|---|---|
Before you start developing an app, configure app information in AppGallery Connect. | |
Integrate the Push SDK locally or remotely. | |
After integrating the Push SDK, register your service in application in the AndroidManifest.xml file to obtain push tokens and receive data messages. | |
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. |
Use the tool offered by Huawei to automatically check your app before release. | |
Submit your app for release. The review process will take 1 to 2 working days. |