Authorize OneSignal to Send Huawei Push


Step 1: Enable PushKit

1.1 Enable Huawei PushKit on your app from Huawei's AppGallery Connect

Step 2: Getting Your Huawei PushKit Values

2.1 From Huawei's AppGallery Connect select your app from "My Apps".


2.2 After selecting your app go to Distribute > App information.
Save the "Package name", "APP ID", and "App Secret" from this page for the next step.


Step 3: Configure Your OneSignal App's Huawei Platform Settings

3.1 In the OneSignal dashboard select your app from the All Apps page, then go to Settings. Under Native App Platforms, click Huawei Android.


3.2 Paste your "Package name", "APP ID", and "App Secret" into the fields and click Next.


Done! You now have the required Huawei keys entered to send push notifications from your app. 🥳

If you have not already done so, proceed to install the OneSignal SDK in your app.