Skip to content

Latest commit

 

History

History
78 lines (47 loc) · 4.22 KB

en-push-huawei.md

File metadata and controls

78 lines (47 loc) · 4.22 KB
copyright lastupdated keywords subcollection
years
2024
2024-10-17
event-notifications, event notifications, destinations, Huawei
event-notifications

{{site.data.keyword.attribute-definition-list}}

Creating push notifications to Huawei using {{site.data.keyword.en_short}}

{: #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}

Creating a Huawei Push Destination

{: #en-create-destination-huawei}

To create a Huawei Push Destination, perform the following steps:

  1. Login to your {{site.data.keyword.cloud_notm}} account.

  2. 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.

  3. 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 their Destination ID.

  4. Click Add + to add new destination. The Add a destination side panel displays.

  5. 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.
  6. 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.

  7. Retrieve Huawei credentials (Client ID and Client secret) for your application. For more information, see Retrieving Huawei credentials.

  8. Add Client ID and Client secret.

  9. Click Add.

Retrieving Huawei Credentials

{: #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.

  1. Sign into the Huawei AppGallery Connect.

  2. Click My projects. Select an existing project or click on Add project to create one.

  3. Click Add app, if there are no applications created in the project or select the existing application.

  4. Enable Push Kit to see the app details. For more information, see Enabling Push Kit.

  5. 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.

Upgrading a Pre-production Destination to Production Destination

{: #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}