Problem Description
After integrating Huawei HMS Core's game, payment and other SDKs, submitted for review, Huawei reviewed and rejected: We found that your game is on a mobile phone with a Huawei account, and calling the login interface when the game is started did not pull up the welcome bar above the game.
The welcome bar effect is as follows:
The cause of the problem is that
you log in to your Huawei account on your phone, and the welcome bar is not displayed. Generally, you can check the following two points:
- In the game/application startup phase, you need to add the following code to the onCreate method of Application to register the callback listener of the Activity. Refer to the document
- Before compiling, please confirm that the name of the Application class must have been configured for the application in the Manifest file of the application, for example "android:name=".MyApplication"".
Original link:https://developer.huawei.com/consumer/cn/forum/topic/0204405839298520256?fid=18
Author: Mayism