Skip to main content

App Gallery Configuration

Appmate server needs some information to communicate with Huawei. The process for configuring these credentials is explained below step-by-step.

Auth Service#

Auth Service, you need to activate the service titled Auth Service under the Manage APIs tab on the Project Settings page of AppGallery Connect.

app_gallery_conf_auth_service_open

You need to activate Auth Service on My Projects page, Build tab on the left menu and Auth Service page.

app_gallery_conf_auth_service

In-App Purchases#

In-App Purchases, you need to activate the service titled In-App Purchases under the Manage APIs tab on the Project Settings page of AppGallery Connect.

app_gallery_conf_in_app_purchases_open

Activate the Use SHA256WithRSA/PSS signature algorithm and Key event notifications for an order or subscription on the In-App Purchases page on the left menu of the My Projects page. (Notification recipient address: https://appmate.tech/api/iap/notification/huawei)

app_gallery_conf_public_key

You will need to complete the following credentials.#

app_gallery_conf_usp_credentials
ConfigurationDescription
Package NamePackage Name can be found by navigating to your app page in My Apps section of AppGallery Connect in App Information page, under Distribute tab. It should look something like com.example.app123
App IDApp ID can be found by navigating to your app page in My Apps section of AppGallery Connect in App Information page, under Distribute tab. It should look something like 123456789
Client IDClient ID can be located by navigating to your app page in Users and Permissions section of AppGallery Connect. Under Connect API menu item, in API Client list, it can be located and copied.
Client SecretClient Secret can be located by navigating to your app page in Users and Permissions section of AppGallery Connect. Under Connect API menu item, in API Client list, it can be located and copied. If there are no keys, a new key can be created by tapping Create button.
App SecretSelect your app from App Secret, My Projects page. On the General information tab on the Project Settings page, under the OAuth 2.0 Client ID heading in the Application Information section, it is the key titled Client Secret. It should look something like "47fb563cc8f86dc37c86d08bc542968f7986acd81c97bf76db7ad744407fe117"
Public KeyPublic Key can be found by going to your app page in the My Projects section of AppGallery Connect. Under the In-App Purchases menu item, your Public Key can be found and copied on the Configuration tab.

1. Package Name#

Package Name can be found by navigating to your app page in My Apps section of AppGallery Connect in App Information page, under Distribute tab. It should look something like com.example.app123

app_gallery_conf_package_name

2. App ID#

App ID can be found by navigating to your app page in My Apps section of AppGallery Connect in App Information page, under Distribute tab. It should look something like 123456789

app_gallery_conf_app_id

3. Client ID#

Client ID can be located by navigating to your app page in Users and Permissions section of AppGallery Connect. Under Connect API menu item, in API Client list, it can be located and copied.

app_gallery_conf_client_id

If there are no ids and keys, a new id key pair can be created by tapping Create button. Set a name for the key and select the project. Select Adminisrator role for the key and click OK.

app_gallery_conf_client_secret_new

4. Client Secret#

Client Secret can be located by navigating to your app page in Users and Permissions section of AppGallery Connect. Under Connect API menu item, in API Client list, it can be located and copied.

app_gallery_conf_client_secret

5. App Secret#

Select your app from App Secret, My Projects page. On the General information tab on the Project Settings page, under the OAuth 2.0 client ID heading in the Application Information section, it is the key titled Client Secret. It should look something like "47fb563cc8f86dc37c86d08bc542968f7986acd81c97bf76db7ad744407fe117"

app_gallery_conf_app_secret

6. Public Key#

Public Key can be found by going to your app page in the My Projects section of AppGallery Connect. Under the In-App Purchases menu item, your Public Key can be found and copied on the Configuration tab.

app_gallery_conf_public_key