Huawei’s review rejected: Calling payment on a Huawei mobile service phone with a version lower than 2.5.3 cannot trigger an upgrade prompt

Problem Description

The project integrates services such as IAP of Huawei HMS Core SDK 4.x version. After submitting for review, Huawei rejected: the application cannot be launched when launching or invoking payment on Huawei mobile service phones with versions lower than 2.5.3 installed.

Problem recurrence

Find a Huawei mobile phone, search for Huawei Mobile Services or HMS Core APK in Settings> Applications> Application Management, click to enter, there is a button in the upper right corner, you can choose to uninstall the update, and found that it is impossible to uninstall the update to version 2.5.3 HMS Core. Because the conditions could not be constructed, we contacted Huawei technical support for communication.

Technical reply, this kind of problem with Huawei mobile service version lower than 2.5.3 installed, the reproduction method can choose one of the following:

  • Find a Huawei phone, refer to the above operation to uninstall the update
  • If the Huawei mobile phone cannot uninstall HMS Core to the version below 2.5.3, you can find a non-Huawei mobile phone and uninstall HMS Core directly for testing
  • If the Huawei phone is rooted, you can directly uninstall HMS Core for testing.

Problem analysis & solution

  1. Analyzing the log: After selecting a non-Huawei mobile phone and uninstalling Huawei mobile services, the payment did not prompt to upgrade, and the log analysis showed that the log error was as follows:

Insert picture description here

  1. Searching for the error code: I searched for this error code directly in Huawei's official documents, and found that it can be searched because there are many searched, so please pay attention to the in-app payment service.

Insert picture description here

  1. Check the description of the document: After entering the document , I found the following information, check the project code, it is really a processing error in this detail, it is no wonder that the error message says that activity cannot be found.

Insert picture description here


Original link:https://developer.huawei.com/consumer/cn/forum/topic/0204405835044480255?fid=18&pid=0304405835044480175

Author: AppGallery Connect

Guess you like

Origin blog.51cto.com/14772288/2569321