Skip to content

Huawei Push Service (Vendor Push)

Prerequisites

  1. You have registered a Huawei developer account and completed real-name verification. Registering under a company entity is recommended.

Steps

  1. Open and sign in to your Huawei developer account

  2. Click Management Center.
    20240523104938

  3. Click AppGallery Connect.
    20240523105747

  4. Click My Apps.
    20240523111538

  5. Click Android apps. If you have not created an app, click New; otherwise click your app in the list.
    20240523111624
     Information for creating an app. Click Confirm when done.
     Package type: APK (Android app)
     Supported devices: Phone
     App name: copy from the Ubases IoT development platform
     App category: App
     Default language: Simplified Chinese
     Check Add to project to enable Huawei Push (generally one APP maps to one project; experienced Huawei developers may decide otherwise)
     Project name: keep the same as the app name
    20240523111737
     Where to copy the app name and package name on the Ubases IoT development platform.
    20240523111829

  6. Click My Apps > My Projects.
    20240523112023

If prompted “Page information has not been saved or submitted. Leave anyway?”, click Confirm.
20240523112043

  1. If a dialog asks you to complete the package name, choose to enter it manually, copy the package name from the Ubases IoT development platform, then click Save.
    20240523112104

  2. Click Push Kit > Enable Now.
    20240523112152

When prompted “Audience groups and subscriber features require a data storage location. Select a storage location in the Configuration menu first. Select now?”, click OK.
20240523112216

For the data processing location, select only China if the App will be published only in China. If the App will be released to app stores outside China, select locations based on your actual needs. Then click OK.
20240523112249

To verify push is enabled, go to Project settings > API management, search for “Push”. If the Push Kit switch is on, push is enabled.
20240523112351

  1. Enable self-classification rights. Click Push Kit > Configuration > self-classification rights Apply. 20240523112629
    20240523112650
    Click Apply under standard scenarios
    20240523112738
    Or click Add classification for standard scenarios
    20240523112835
    Filter message types: check Account activity and Device reminder. In the standard scenario list, check Device reminder and the account activity whose scenario description includes join/leave home account. Then click Next.
    20240523112927
    20240523112939
     Fill in the content, then click Submit:
     Device reminder:
      Message content examples: xxx is online. xxx is offline. “xxx” added in home “My Home” — “xxx” is ready to use
      Image: take a screenshot of your APP device list with at least one device, for example: (do not use the sample image below; use your own APP screenshot)
    20240523113036
      Notes: Gray background with “offline” indicates the device is offline. Adding or removing devices triggers push messages. xxx represents different device names
     Account activity:
      Message content examples: “User X” removed home “xxx”. “Xiaoming” invited “Xiaohong” to join home “xxx”
      Image: take a screenshot of home management in your APP, for example: (do not use the sample image below; use your own APP screenshot)
    20240523113133
      Notes: When a user deletes a home or joins a new home, related users receive a push
    After submission, wait for review. After approval, click Activate at the top of the page. If not activated within two months, you must reapply.
    20240523113238

  2. Click Project settings > General, then under the app click Add fingerprint certificate.
    20240523113302

Copy the SHA-256 certificate fingerprint from the Ubases IoT development platform and click Save. Copy the API key, App ID, and Client Secret to the Ubases IoT development platform. Then download agconnect-services.json and upload it to the Ubases IoT development platform.
20240523113327
Where to copy the SHA256 fingerprint on the Ubases IoT development platform.
20240523113351

Where to enter Huawei push information; click Save when done.
20240523113410
20240523113420

Released under the MIT License. Build Time 2026-09-11 14:52:23