copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2024-10-17 |
event-notifications, event notifications, destinations, Huawei |
event-notifications |
{{site.data.keyword.attribute-definition-list}}
{: #en-push-huawei}
{{site.data.keyword.en_short}} provides a push notification service for sending transactional and informational event notifications to Huawei mobile devices. {: shortdesc}
{: #en-create-destination-huawei}
To create a Huawei Push Destination, perform the following steps:
-
Login to your {{site.data.keyword.cloud_notm}} account.
-
If you already have an {{site.data.keyword.en_short}} service instance, navigate to your {{site.data.keyword.en_short}} service instance from the Resource list and select the required {{site.data.keyword.en_short}} service instance. Otherwise, you can create a new {{site.data.keyword.en_short}} service instance.
-
Click
Destinations
in the {{site.data.keyword.en_short}} console. By default, {{site.data.keyword.cloud_notm}} SMS service and {{site.data.keyword.cloud_notm}} Email service are included, with theirDestination ID
. -
Click Add + to add new destination. The Add a destination side panel displays.
-
Provide the new destination details:
Name
: add a name for the Destination.Description
: add an optional description about the destination.Destination type
: select Huawei Push Notifications from the list.
-
Select a destination plan. You can select a Pre-production destination for developing and testing your environments at a low cost. You can upgrade a Pre-production destination to Production destination after creating the destination by using the Edit option from the overflow menu post your development and testing. For more information, see Upgrading a Pre-production destination to Production destination. There will be change in cost when you upgrade.
-
Retrieve Huawei credentials (Client ID and Client secret) for your application. For more information, see Retrieving Huawei credentials.
-
Add Client ID and Client secret.
-
Click Add.
{: #en-retrieve-huawei-credentials}
To complete the Huawei Push Notification setup, you need a Client ID and Client secret. Obtain these from the Huawei AppGallery Connect portal.
-
Sign into the Huawei AppGallery Connect.
-
Click My projects. Select an existing project or click on Add project to create one.
-
Click Add app, if there are no applications created in the project or select the existing application.
-
Enable Push Kit to see the app details. For more information, see Enabling Push Kit.
-
Go to the App information section, where you can find OAuth 2.0 Client ID. Copy the Client ID and Client secret values into the respective fields.
{: #en-destination-preprod-prod1}
You can upgrade a Pre-production destination to Production destination after creating the destination by using the Edit option from the overflow menu.
To understand the billing impact of upgrading a Pre-production destination to Production destination, see here.
To modify the destination,
- Select the pre-production destination from the list of destinations
- Click the three vertical dots in the selected pre-production destination to access the overflow menu
- Click Edit, which brings the editable view of the selected destination.
- Click the Production destination tile to change the destination.
- Click Add.
You cannot change a Production destination to Pre-production destination. {: important}