HUAWEI DevEco Studio version: 2.1 or later
Device Type | OS Version | HMS Core (APK) Version |
|---|---|---|
Huawei phone and tablet | HarmonyOS 2.0 or later | 5.0.0 or later |
Follow the steps in the following process when you develop an app.
Step | Description |
|---|---|
Before you start developing an app, set up the development environment. | |
Create a HarmonyOS app, enable Push Kit, and set a data processing location in AppGallery Connect. | |
Since a HarmonyOS app is managed and controlled using a digital certificate and a profile, generate a digital certificate and a profile, as well as configure an SHA-256 certificate fingerprint of the HarmonyOS app in AppGallery Connect. | |
Add a configuration file in DevEco Studio and integrate the Push SDK. | |
Configure the obfuscation configuration file to prevent the HMS Core SDK from being obfuscated. | |
Obtain a push token. | |
Call the Push Kit server API to send messages to a HarmonyOS app. |