Skip to main content

Create Your Own App at Google Play and AppGallery

In order to create products and manage in-app purchases via Appmate console you need to create your own applications at Google Play Console and Huawei AppGallery Connect Console. When you will create your application at Appmate console you will need to provide some specific information to complete configuration which you can get after you created applications at Google Play Console and Huawei AppGallery Connect Console.

Create App At Google Play Console#

After you created an app at Android Studio, you also need to create an app at Google Play Console. To be able to create products, create subscriptions, test In-App Billing and also to complete Appmate Console app configuration, you need to upload your .apk to Google Play Console as in Alpha testing(Closed testing).

img

note

Before you can upload an apk, you need to set up your app at Google Play Console.

img

After you completed Google Play Console app setup, you can upload your application's apk to closed test track. Your app development does not need to be fully completed at this stage.

img

When the application becomes available on the Alpha testing, In-app products and Subscriptions can be added.

important

It can take up to 36 hours for your release to be available at Alpha testing because of the review time.

Now you can start creating products from Appmate Console and fetch products from your client application, if you completed your app configuration at Appmate Console and implemented our sdk to your android application.


Create App At Huawei AppGallery Connect Console#

In order to create products, create subscriptions, test In-App Purchase and also to complete Appmate Console app configuration, you need to create project and app at Huawei AppGalleryConnect Console.

First you need to create project on the AppGallery Connect console from My Projects if you do not want to use one that you have already created.

img

Then you can add app under that project on the General information tab page.

img

important

Be aware with the "For apps using the HMS SDK for in-app payment, the package name must end with ".HUAWEI" or ".huawei" (case sensitive)." warning to avoid a problem with your In-app Purchase implementation.

Also in order to HUAWEI IAP to be available in your application, it must be enabled on the page that is displayed, go to Project settings > Manage APIs from your created app.

img

If this is the first time you configure HUAWEI IAP, you need to complete configuration with going to Earning > In-App Purchases from the navigation tree on the left and click Settings.

img

In order to access HMS In-App Purchase services you need to add agconnect-services.json file under "app" folder of your project. After the app is created, you can find agconnect-services.json under Project settings > General Information > App information path within the APP ID and SecretKey allocated by the system to the application.

img

Now you can start creating products from Appmate Console and fetch products from your client application, if you completed your app configuration at Appmate Console and implemented our sdk to your android application.