Guides & References

To be able to use these Publishing and PMS APIs, you need to create an API Client through AppGallery Connect.

After selecting your project on AGC, please go to Users and Permissions section. Find API key section on the left side and click Connect API. On the right side, you will see a button called "Create". Click on it to create an API Client for Connect API.

After creating your key, please copy Client ID and Key section.

Paste your Client ID to Client ID section, and Key to Client Secret section in Token Obtainer Editor.

Publishing API

This API is here to help you to publish your apk or aab after a successful build. You can access this API by going

Huawei>Connect API>Publishing API>Querying App Information

From Querying App Information, you can check your app name, app category, and your release state. But the most fun part starts after that information. Cause that information there just for letting you know "I can communicate with AppGallery".

After informations, there is a checkbox called "Upload After Build". If you select this checkbox then Plugin will ask you every time you do a successful build "Should I send this apk/aab to AppGallery Connect?". If you select yes then sending work will be started and you can check it from the console or from the progress bar. After uploading, you can check your apk/abb from the App Gallery Connect.

If you are using AAB, you should consider reading the warning after enabling the checkbox. "Please Check the App Signing Feature Enabled on AppGallery Connect For Uploading AAB Packages"

PMS API

This API is here to help you to manage your products. You can access this API by going

Huawei>Connect API>PMS API

Query IAP Products, You can view all of your products with or without filtering by Product ID and Product name.

You can create a product with Create a Product or import your products with Create Products.

You can't edit your deleted products. You can't change the products' purchase type which you created.

Last updated