Problem description
Our domestic Huawei intermodal Games integrate Huawei game services SDK after , Rejected by the audit : Huawei mobile service is not installed or needs to be updated (HMS Core) On my cell phone , Prompt to install Huawei mobile services , Click Cancel , Installation is not prompted again HMS Core.
Problem solving
I contacted Huawei technical support ( This bill of lading ), The other party asked me to reproduce the problem first and read the wrong information in the log , After I reappear, I read the log , Found that in this scenario , initialization failed , Error code will be returned 907135003. Search for the error code on the developer guidance document , You can directly guide to the game initialization chapter .
I click on the reference discovery document and the sample code to explain the solution of the error code scenario :
in other words , initialization failed , Return error code 907135003, At this point, we need to call init Interface , I modified the code and retested it in this way , Prompt to install HMS Core, Click Cancel , It can pop up again HMS Core Updated pop-up . Problem solved , It has been resubmitted for review , And passed the audit .
Document reference links :
https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/game-start-0000001050123475
PS:
HMS Core Requirements for recurrence conditions of abnormal installation problems :
Non Huawei mobile phones can be used for testing : Uninstall in advance HMS Core;
Huawei mobile phones can be used to test : You have to go back first HMS Core edition ( On the cell phone - Set up - Application management -HMS Core- Uninstall updates )