Huawei game review rejected: click to log in to enter the game, the welcome bar is not displayed

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:

Insert picture description here

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:

  1. 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

Insert picture description here

  1. 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

Guess you like

Origin blog.51cto.com/14772288/2619492