[AppsUP] Frequently Asked Questions About Huawei Ads Kit - Huawei Developers

AppsUP contest has already been launched for one month. A number of participants in the forum ask some questions about Ads Kit. Today I want to share the frequently asked questions of Ads Kit with you. Hope they can be helpful for you.
Q: How to integrate Huawei Ads in my game? How could it compliant to EU consent?
A: Here is the link: https://developers.google.com/admob/android/eu-consent
Q: How to get ads ids for my apps those are available on Huawei Developer Console?
A: regarding getting Ads ID, please first make sure your developer account is a Company Account, because Ads on individual account is not available just yet.
If your account is a company account, you can login to your console
https://developer.huawei.com/consumer/en/console#/serviceCards/
Then look for the Monetize Service section and click on Publisher Service. There you can select My Apps, click Add app, and then you can register your app for Ads Service. Afterwards an Ads ID will be generated for you and will be showed on the panel.
Q: I used cordova for development app and plugins that provided from huawei like analytics and I succeeded, but for ads-kit can’t find guide for integration plugin - only I can find download plugin 4.0.4 and demo example. But what I get Console without any fired event that registered like "failed" and also did not get any Oaid.
A: Some kits are incompatible with non-huawei devices, even if you install the HMS core APK. You can check the compatibility for each kit here.
Q: I find all the sample use the test ads id but how to make the release one?
A: Individual account is not supported yet, but this function will be available at end of August, confirmed by related department.
Q: Why do native ad videos fail to be played and remain in loading state?
A: On mobile phones whose targetSdkVersion is 28 or later, ad video assets may fail to be downloaded. In this case, you need to configure the app to allow HTTP network requests. For details, please refer to Configuring Network Permissions.
Q: What are the differences between the ads-lite SDK, ads-identifier SDK, and ads-install referrer SDK provided by HUAWEI Ads Kit?
A: The Difference:
1. ads-lite: Integrates ad formats such as banner, native, rewarded, interstitial and splash ads.
2. ads-identifier: Obtains the OAID and the value of Disable Ads Personalization.
3. ads-installreferrer: used to obtain an install referrer.
To know more please refer to Integrating the HUAWEI Ads SDK.
Q: How is an ad report generated? Is developer data reported in two copies (one copy for Huawei and the other copy for the third-party platform)?
A: An ad report is generated after the server cleans various ad SDK-reported ad events for the anti-cheating purpose. The ad SDK in the app reports data to the ad platform and third-party advertising platform.
Q: I am individual developer. What platform I can use to monetize my apps?
A: You can apply for the Merchant Service if you want to use the In-App Purchases service, distribute paid apps or themes, or carry out joint operations (for apps, games, and themes) with Huawei. Please follow the instructions here:
https://developer.huawei.com/consumer/en/doc/start/10112#h1-1588057611069
Q: I want to distribute my Games in China. When I select china it asks me to upload some Copyrighted approved content? How can I bring these documents to china government because I am not from China but I want to distribute my games in China as well on App Gallery.
A: a. Publish a game in China, the law has requirements for both companies and games.
For companies: should have ICP, Network culture business license and Internet publishing license
For games: should have Software copyright, Game operation record and ISBN
b. Oversea game companies cannot apply for the certificates, so only have two ways to launch game in China:
Register company in China with 100% domestic capital Agent cooperation, and find a Chinese publisher release in China
Q: Why do banner ads fail to be obtained after my app has integrated the HUAWEI Ads SDK? The displayed error code is 1.
A: If the value of errorCode is 1, check whether AdId and BannerAdSize are correctly set in BannerView. The following table describes the error codes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you also have other questions about this kit. Leave your reply below.

Related

[AppsUP] Frequently Asked Questions About Huawei Account Kit

Hi, everyone
The AppsUP contest has already been online, which involves developers from five regions. Believe many developers are eager to search some references. Here I select some excellent integration cases for Account Kit. Hope this can benefit you.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Q: In the SDK, I see it in the ReadSmsConstant class
READ_SMS_BROADCAST_ACTION value is "com. Huawei. HMS. Auth. API. Phone. SMS_RETRIEVED",
But the Client APIS, I see is the description of the READ_SMS_BROADCAST_ACTION value is ". com.huawei.hms.support.sms.com mon SMS_RETRIEVED"
These two are not the same,Which value do I need to set?
A: This is to be used in the SDK.
ReadSmsConstant.READ_SMS_BROADCAST_ACTION
Or com.huawei.hms.auth.api.phone.SMS_RETRIEVED”
Q: I can't get the gender information in the AccountKit,What shall I do?
A: Gender access is not yet supported
Q: Is there a line break between XXXXXX indicates the verification code and hash_value indicates
A: Yes, there must be a new line.
Q: If a user signs in to a game with a HUAWEI ID, will the game server save the HUAWEI ID data?
A: The game app will obtain and save information authorized by the user, such as the avatar and nickname, but cannot obtain other account information.
Q: If a user downloads and installs HMS Core on an OPPO phone, can the user use the HUAWEI ID to sign in to the game on the phone?
A: Yes. HUAWEI Account Kit can be used on a non-Huawei Android mobile phone. Also reference to the table of limitations
https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/emui_version_dependent_features
Q: When I run debug in 'yarn android' this login is run normally but when I build an Apk file this function is display like my video
A: The Keystore to upload is not matching with old Keystore in the Application
Q: What are the application scenarios of silent sign-in? Are there any non-Huawei apps that use silent sign-in?
A: Silent sign-in is provided to benchmark against the corresponding capability provided by GMS. Therefore, their application scenarios are the same, including but not limited to the following:
(1) In the case of authorized sign-in of a user, a developer can update the validity period of the authorization information a period later.
(2) A developer can check whether a user has signed in and been authorized.
Apps that use silent sign-in in Google Play include:
HK01, YouSee Musik, My Beeline v4.8.1, and RTA Smart Drive
Q: Can a HUAWEI ID and a Google account be used in the same APK?
A: Yes, they can be used. Huawei ID and Google ID can be used as login mechanisms in an apk. However, if account interoperation is required, the function of binding both accounts need to be implemented for the app.
Q: Integration Account Kit,Signin after successful signout, does not prompt for login credentials to be entered
A: This is not a issue. Action and Result of SignOut : The HUAWEI Account SDK deletes the HUAWEI ID sign-in information of the user and sends the sign-out result to the app.
Refer: https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/account-guide-v4#h1-3-signing-out-from-huawei-id
After SingOut is invoked, the Huawei ID on the device is still in the login state, as the App has been authorized, so it is a normal case that subsequent signin is not prompting for login credentials.
You can try below scenarios:
Log out Huawei ID on the device from Account Center (Setting ->Account Center -> LOG OUT)
Revoke Huawei ID Authorization (Settings -> Account Center -> Privacy Center -> Control account access -> Select your App and "Cancel Authorization")
Q: How can data of a HUAWEI ID be stored across areas? How can data privacy be protected?
A: HUAWEI ID data is stored in the user's home area selected during user registration. A dedicated privacy team has been set up to review the privacy protection status of each business.
Q: Can the developer replace the Google Play SDK package with HMS SDK package at one click as explained?
A: The function names are the same, but the class names may be different. After correcting the class names, the package can be replaced and imported at one click.
Q: How is HUAWEI Account Kit used on iOS? Does HUAWEI Account Kit support facial recognition?
A: Currently, the HUAWEI Account Kit solution for iOS is not provided externally. In addition, facial recognition is not supported.
Q: Does the Account Management Interface consider integrated subscription functionality?
A: Huawei Account Management Interface also has this function. See “Settings->Huawei Account->Payments and Bills->Subscriptions”. Users can view and cancel subscriptions.
Q: Can a developer with their own account management system use HUAWEI Account Kit?
A: Yes. Many apps allow sign-in through third-party accounts.
Q: Does the Account Management Interface consider integrated subscription functionality?
A: Huawei Account Management Interface also has this function. See “Settings->Huawei Account->Payments and Bills->Subscriptions”. Users can view and cancel subscriptions
About the new frequently asked questions by developers, I will update here regularly.
Or you can directly ask your question in HUAWEI Developer Forum.

Distributing your game on Huawei App Gallery with Unity Distribution Portal (UDP)

More information like this, you can visit HUAWEI Developer Forum​
Introduction.
In this article I would like to delve into a topic that has been somewhat recurrent in the questions in the communities, which is the UDP distribution to Huawei App Gallery. So through this this text we will understand how to distribute our game in Unity UDP.
Let's start with a little theory. d( ̄◇ ̄)b
What is UDP?
This service allows us to distribute our game to multiple Android stores through the same concentrator (hub) Using the same build.
Which stores are supported in UDP?
Samsung Galaxy Store
One Store
Mi GetApps
Huawei App Gallery
QooApp Game Store
Share it Game Store
Tpay Mobile Stores
AppTutti
VivePort
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Which versions of Unity are supported?
Supports from 5.6.1 and later, but it is recommended to use 2018.4+
What is the price of UDP?
It is free for developers and you can download it from the package manager in your project.
Procedure on UDP Platform
Let's see how we install it.
Once we have the distribution Portal installed, we should have the following menu in the Window tab.
Now we have to create an ID in case we don't have one already created.
Once the Unity ID has been created it will be necessary to go to the Unity Distribution portal page, in this portal we can create our game for distribution.
https://distribute.dashboard.unity.com
Inside the portal we have to create a new game on the console
Now we must capture the data of our game
After we complete the filling of data, we have to create a Release Version of our Game. We can create a revision TAG and some notes
Now its time to select the store where we want to release our game so
We are going to select Huawei App Gallery so I want to share with you the process to of releasing on this store.
Procedure on App Gallery Console
Sign up to HUAWEI AppGallery
The First requisite is to have a Huawei developer verified account. Im quite sure that you have one because you are surfing through this Forum. So lets skip this step.
Sign in into AGC to create yout Game App
Create your game on AppGallery
Fill the forms on the registration of App. Dont forget to select Game
Important!! o(・_・)9
Be sure to match your game genre to the one you choose on UDP
Like most of the Kits of HMS we have to set the package name manually so take the name that you assign on your Unity Project
link your game to UDP
Now Go! back to UDP Distribution Portal and Click Link game to UDP and authorize the link by authenticating with your HUAWEI account.
Your game should now be linked between AppGallery and UDP. If an error pops up, be sure to correct it with the error details provided.
Complete your game registration
Once your game is linked to UDP successfully, you will reach the Game Registration form. The greyed-out fields were retrieved from AppGallery during the linking process. The remaining fields need to be input manually before you can complete the registration of your game.
Where can i find the following information?
This information can be found in your AGC Console
Final Step Submitting your game to HUAWEI AppGallery
Go the the Publish section
Any warnings or errors will be flagged ahead of submitting your game to AppGallery. Errors must be addressed before you can submit.
You can set a launch date for your game, but only before submitting it.
When you’re satisfied, click “Publish” at the top right of the screen.
You will be sent to the Status section showing your game’s submission progress.
Once your submission is successful, you still have one last step to perform on the AppGallery console.
Conclusion
I hope this small guide helps you to understand and complete your UDP Publication

How to applying for the HUAWEI Ads Publisher Service?

For details, please refer to. :HUAWEI Ads Media Access Guide.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Registering a Developer Account and Performing Identity Verification
For details, please refer to Account Registration and Authentication.
2. Enabling the Merchant Service
For details, please refer to Merchant Service.
3.Signing the HUAWEI Ads Publisher Service Agreement
a. On the HUAWEI Ads Publisher page, click Start now. Read the HUAWEI Ads Publisher Service Agreement that is then displayed. If you agree, select By checking this box I confirm that I have read and agree to be bound by HUAWEI Ads Publisher Service Agreement. The agreement takes effect immediately.
b. You can also click the Monetize service card on the console to quickly access the HUAWEI Ads Publisher Console.
4. Applying for Media
a. On the HUAWEI Ads Publisher Console, go to App management > Add app, select the app to place ads, set mandatory parameters, and submit it for review.
b. An app can be added only after it is released in HUAWEI AppGallery. You can only apply for media for an app released in HUAWEI AppGallery.
c. Huawei will review the application in one to two working days (there may be a delay during weekends and holidays).
d. You can set Advertiser industry restrictions and App promotion restrictions for the app.
5. Creating an Ad Unit
a. You can create an ad unit only after the application is approved. Go to Ad unit management > Add ad unit.
b. Select the target app, set the ad format, style, and size of the ad unit, specify Ad unit name, and submit the settings for them to take effect.
c. Set Ad unit name to the app name + scenario + style format (for example, Huawei Video in-feed large image).
d. To fulfill operations requirements, you can:
1)Set the ad format, style, and size for an ad unit by selecting a value. You cannot customize these attributes.
2)Change the name of an ad unit.
3)Add the ad styles and sizes of an ad unit.
4)Delete the ad styles and sizes of an ad unit. However, at least one style and one size must be retained.
5)Enable or disable an ad unit.
An ad unit and its associated app cannot be deleted.
6. Integrating the HUAWEI Ads SDK
Integrate the HUAWEI Ads SDK into your app based on the HUAWEI Ads SDK Development Guide.
7. Testing Ad Delivery
a. Test ad delivery before commercial release, including the loading and display of ads.
Attention: Confirm the requirements on the user privacy statement. Release the privacy statement in the name of your app, and the statement should contain the requirements for using third-party advertising services. It is prohibited to release the privacy statement in the name of Huawei or HUAWEI Ads.
b. Send the APK package that has passed the self-test as well as the app and ad unit information to Huawei customer service personnel for acceptance.
8. Releasing Your App
After your app is accepted, Huawei will inform you that you can release it. It will be then possible to release your app with the HUAWEI Ads SDK integrated with HUAWEI AppGallery.
You can view reports on the HUAWEI Ads Publisher Console to obtain commercial ad delivery data.
For details about Huawei developers and HMS, visit the website.
HUAWEI Developer Forum | HUAWEI Developer
forums.developer.huawei.com
Interesting.

Why Does onRewardAdFailedToLoad error 3 Keep Occurring when Integrating with HUAWEI Ads Kit?

We recently received a question from a developer outside the Chinese mainland regarding onRewardAdFailedToLoad error 3 that keeps returning when the developer is testing their app's integration with HUAWEI Ads Kit. The developer used a Samsung Galaxy S7, which has HMS Core (APK) 5.0.2.301 installed. This error indicates that no ad is returned during the testing phase. On top of this, they also discovered check hms sdk available error in the logcat logs.
For details about this specific issue, please refer to https://stackoverflow.com/questions/65723806/huawei-ads-check-hms-sdk-available-error.
A solution for this problem is as follows:
First, onRewardAdFailedToLoad error 3 and the returned error code (204) in the developer's logs indicate that an ad request was successfully sent, but the server did not return an ad. According to the developer, a Samsung Galaxy S7 was used for testing. Unfortunately, for HUAWEI Ads Kit, only Huawei devices can currently be used for testing, and for this reason it is advised that the developer uses a Huawei device.
Supported Huawei devices are listed in the figure below. We are committed to optimizing our services to support HUAWEI Ads Kit integration on non-Huawei devices in the near future.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some of you may ask: Are there any other solutions if no Huawei device is available for testing?
Of course yes. Huawei's Cloud Debugging allows you to test your app on wide range of popular Huawei devices. For details about this, please refer to https://stackoverflow.com/a/63877454/13329100.
Along with error 3, error 499 also frequently occurs if no ad is returned. If this error code is returned, check whether the test device meets the following requirements:
1. The device is a Huawei mobile phone sold outside the Chinese mainland.
2. The device is connected to networks outside the Chinese mainland, excluding the United States.
3. The area in system settings is outside the Chinese mainland.
4. The device time is the current time.
5. The device has the latest version of HMS Core (APK) installed.
6. The device is inserted with a SIM card registered outside the Chinese mainland.
For details about other error codes that are frequently returned during integration with Ads Kit, please refer to Error Codes.
Now that we've proposed solutions for some common error codes that developers may encounter when integrating their apps with the HUAWEI Ads Kit, let's take a look at what HUAWEI Ads Kit is and the capabilities that this kit provides.
Introduction to HUAWEI Ads Kit​Currently, HUAWEI Ads Kit mainly provides two capabilities: Publisher Service and Identifier Service.
Publisher Service
HUAWEI Ads Publisher Service is a monetization service that leverages Huawei's extensive data capabilities to display targeted, high-quality ad content in your apps to a large audience of Huawei device users.
We offer a range of ad formats so you can choose whichever suits your app best, including banner, native, rewarded, interstitial, splash, and roll ads. You can use the HUAWEI Ads SDK to integrate these ads into your app to bring in revenue using our high-quality advertising services.
We also offer the Publisher Service Reporting API for you to obtain traffic monetization report data, including the number of ad requests, number of returned ads, click-through rate, and impression rate.
Identifier Service
Ads Kit provides the Open Advertising Identifier (OAID) and install referrer capabilities for advertisers to deliver personalized ads and attribute conversions.
An OAID is a non-permanent device identifier. You can use them to provide personalized ads for users while protecting their privacy. In addition, third-party tracking platforms can provide conversion attributions for advertisers based on OAIDs.
You and advertisers can obtain app install referrers through APIs provided by Huawei. Advertisers can use install referrers to attribute conversions to different promotion channels.
Stack Overflow and HMS Core​As the world's largest technical discussion platform, Stack Overflow is an open platform for developers around the world to raise programming-related questions. You are welcome to post your questions about HMS Core integration in Huawei's own section (https://stackoverflow.com/questions/tagged/huawei-mobile-services) on Stack Overflow.
For more details, please refer to the following links:
HUAWEI Ads Kit official website: https://developer.huawei.com/consumer/en/hms/huawei-adskit?ha_source=hms1
Integration guide to HUAWEI Ads Publisher Service: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/publisher-service-dev-process-0000001050064964
Integration guide to HUAWEI Ads Identifier Service: https://developer.huawei.com/consum...e-dev-process-0000001050064984?ha_source=hms1
Ads Kit client sample code: https://developer.huawei.com/consum...ample-code-0000001050066947-V5?ha_source=hms1
Ads Kit server sample code: https://developer.huawei.com/consumer/en/doc/development/HMSCore-Examples-V5/server-sample-code-0000001056563536-V5
To learn more, please visit:
HUAWEI Developers official website
Development Guide
Reddit to join developer discussions
GitHub or Gitee to download the demo and sample code
Stack Overflow to solve integration problems
Follow our official account for the latest HMS Core-related news and updates.
Original Source
How can i get AdsID?

FAQs About Integrating HUAWEI IAP

HUAWEI In-App Purchases (IAP) enables you to sell a variety of virtual products, including consumables, non-consumables, and subscriptions, directly within your app. To support in-app payment, all you need to do is integrate the IAP SDK and then call its API to launch the IAP checkout screen. Below are some frequently asked questions about IAP and their answers. Hope they are helpful to you.
Q: A monthly subscription doesn't reach the end of a subscription period, and is changed to a yearly subscription in the same subscription group. After I visit the Manage subscriptions screen in Account center and cancel that monthly subscription, the yearly subscription is also canceled. Why is this?​A: The yearly subscription doesn't take effect until the end of the subscription period during which the subscription change operation is made. So after you cancel the monthly subscription, the yearly subscription that hasn't taken effect will also disappear. Your app will receive a notification about the cancelation of the monthly subscription. As the yearly subscription hasn't taken effect, no relevant cancelation notification will be received.
Q: My app tries to bring up the IAP checkout screen on a Huawei smartwatch, but only receives a message telling me that some HMS Core services need to be updated. After I update it, the update fails (error code: 102).​A: This error code generally means some kit updates are needed, but no relevant packages are found from HUAWEI AppGallery for smartwatches. If your app running on the smartwatch has integrated the IAP SDK for HarmonyOS (JavaScript), two services need to be updated: JSB Kit and IAP Kit. JSB Kit has already been launched on HUAWEI AppGallery for smartwatches, but IAP Kit still needs some time.
Here's a workaround for you. Make your app request that users download the latest HMS Core (APK) from HUAWEI AppGallery for smartwatches. (See error code 700111, API call error resulting in the update failure.)
Q: IAP has two SDKs: one for Android and the other for HarmonyOS. Are there any differences in the functions and devices supported by the two SDKs?​Both SDKs provide basic IAP services, including managing orders, making subscriptions, and viewing purchase history, but the SDK for HarmonyOS temporarily does not support non-PMS payment or pending purchase. (PMS stands for Product Management System) In terms of supported devices, the SDK for HarmonyOS supports Huawei phones, smartwatches, and tablets, and the SDK for Android supports not only the devices mentioned above but also non-Huawei phones and head units.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Q: I find that the obtainOwnedPurchasesRecord API in IAP SDK 4.0 or later fails to query non-consumables managed in the PMS and purchased through the productPay API in IAP SDK 2.x. Why?​A: Data of IAP SDK 4.0 or later and that of IAP SDK 2.x is stored in different databases and temporarily cannot be migrated to the same one, so the problem you've found arises.
Here's a workaround for you. If needed, make your app show only the data generated after IAP SDK 4.0 or later is integrated. For example, if you have integrated IAP SDK 4.0 or later on January 1, 2022, tell users that the starting day of their data query can only be January 1, 2022 or later.
A better way is that you can merge data of IAP SDK 2.x (obtained from the app server) with that of IAP SDK 4.0 or later (obtained through the IAP SDK API) depending on your situation, such as using the same data type for them and placing them on the same server.
Q: During sandbox testing on a Huawei smartwatch, the QR code for payment does not appear after the IAP checkout screen is displayed, and an error indicating incorrect request parameters is reported. What should I do?​A: Payment through QR code scanning such as on a smartwatch or smart display, is temporarily unsupported in the sandbox environment.
If you do need to test the mentioned payment method, sign in with a non-sandbox account (or if you have only one account, remove it from the sandbox environment) and test the relevant functions in the production environment.
For more information about HUAWEI IAP, please visit the HUAWEI Developers website. Or you can directly click here to find more IAP FAQs.

Categories

Resources