Problem description
After integrating game, payment and other SDK of Huawei HMS Core, submit for review, which was rejected by Huawei: We found that your game was on the mobile phone with huawei account, and the welcome bar at the top of the game was not pulled up when the login interface was invoked when the game was started.
The welcome bar looks like this:
Cause If the welcome bar is not displayed when you log in to a Huawei account on a mobile phone, you can rectify the fault as follows:
- During the game/Application startup phase, you need to add the following code to the Application onCreate method to register the Activity callback listener (see documentation)
- Before compiling, ensure that the application class name has been configured in the application Manifest file, for example, Android :name=”.myApplication “.
The original link: developer.huawei.com/consumer/cn…
Original author: Mayism