My project has integrated HUAWEI IAP and other services using the HMS Core SDK 4.x. However, the app is rejected during Huawei app review, for an update pop-up cannot be displayed on a mobile phone with HMS Core (APK) 2.5.3 or earlier. I have tried to reoccur this problem by uninstall and update HMS Core to version of 2.5.3 .But the operation fail. how can i reoccur the problem and solve it?

2

There are 2 best solutions below

0
On BEST ANSWER

The problem was because the HMS Core (APK) version on your phone is earlier than 2.5.3. Each of the following solutions can be used to reoccur the problem.

  • Find a Huawei phone and perform the following steps.Go to Settings > Apps > Apps, then searched for and tapped HMS Core (APK). On the displayed page, tapped the button in the upper right corner, and chose to uninstall the APK update.
  • If the uninstallation fails, find a non-Huawei phone and uninstall HMS Core (APK).
  • If the Huawei phone has been rooted, just uninstall HMS Core (APK).

You can try to Log analysis and check the project code,The problem may be due to the input parameter in your project is of the Context type, rather than the Activity type.

enter image description here

For Details,check Docs.

0
On

Can you describe how the operation failed (error, screenshots)?

If you don't turn off AppGallery Auto-update apps, it will automatically update your HMS Core immediately to the latest version right after you remove HMS Core updates. If this is the case, you will not be able to test your app using HMS Core 2.5.3.

Please make sure that you turn off Auto-update apps in AppGallery > Settings.

Regardless, you will need to upgrade your IAP to the latest version in order to be approved by AppGallery app review.

enter image description here

enter image description here

enter image description here