- A Huawei Developer Account
- An Android mobile app
- App also created on Huawei's AppGallery Connect
- A OneSignal Account, if you do not already have one.
2.1 From Huawei's AppGallery Connect select your app from "My Apps".
2.2 Click In-App Purchases under All services > Earn.
Save the "Package name", "Client ID", and "Client secret" from this page for the next step.
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", "Client ID into the APP ID field", and "Client secret into the App Secret field" 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.
Updated 3 months ago