Huawei offers equal opportunity to all the talented developers around the world. As long as you have what it takes, you can be a partner with Huawei and develop amazing apps for their users. You will not only grow as a developer but also as a businessman as well.
The good thing of designing and launching an app is by integrating it with the in-app purchases. Even if you launched your app for free, you can incur revenue from the extra stuff that the user needs to maximize the goal of the game. This is what most developers would need to know and consider when designing an app.
But before they can integrate IAP to their apps, they would need to accomplish various steps to successfully integrate IAP to the app.
- You need to design and make your own app in AppGallery Connect.
Just access your Huawei Developer’s account and you will then see the AppGallery Connect or AGC. This is where you can create your project and an app before launching it to go on live.
- You need to have an account for Android Studio Project.
When you’re making an app, you should save the app’s name whichever name you prefer inside the Android Studio Project file. Each app will have its own android studio project file for you to save.
- You must secure a signature certificate.
Huawei will require you to create a signature file for your app. This is needed whenever you’re about to get the SHA 256 fingerprint for the app you just made. This is to secure your app and authenticate its ownership.
- You must secure a signature certificate fingerprint.
This is the time where you will need to access and get the SHA 256 fingerprint for your newly added app. You will need to use the keytool provided which will be given by the JDK and signature file from your account.
- Your signature certificate fingerprint must be well configured.
By configuring your signature certificate fingerprint the right way, that will enable you to add it in the AppGallery Connect section. This will be the gateway to enable your IAP services for certain apps that you chose to have IAP enabled.
- Make an app package name and have it saved under the configuration file.
Once you have tweaked your IAP settings for the app, you need to organize the app information page of your project. Just go to the Manage API’s tab and you can start clicking the services that you would like to enable. Just remember that you should enable an API Service based on the specific information stated about your app.
- You must setup the AppGallery Connect plug-in together with the Maven repository in build.gradle file.
Then you’ll need to save the configuration file in your Android Studio root-level (project-level) build.gradle file and have the rules added that include Huawei agcp plug-in and the Huawei Maven repository. You will need to save this first before you proceed on having your signature file configured.
- You need the newly configured signature file in Android Studio.
Once the configuration was successfully saved, you can now access the file signature hmsdemo.jks. Copy paste these to the app folder and open the specified module – build.gradle file and have the signature added. After all that, your app is ready to sync with IAP.
For a more detailed step by step guide to integrate IAP through your apps, just visit the official Huawei website.