An online game is a game that requires Internet connection.
After integrating the basic game service, an online game allows users to sign in with a HUAWEI ID or an official game account on the multi-provider sign-in panel.


An online game must integrate HUAWEI ID sign-in.
After the integration, Huawei's platform assigns a player's playerId/openId in HarmonyOS 4 and earlier to their gamePlayerId in HarmonyOS 5.0 and later, enabling interoperability for account assets (such as the character, region and server information, and game progress information) across versions. This will not cause any changes to the HUAWEI IDs, your server, or database.
For HUAWEI IDs, the basic game service provides identity verification and anti-addiction for minors, and IAP Kit provides payment compliance control (for example, payment limits for minors).
If your game has an official package and its own official account system, it must support sign-in based on the official game account. In addition, the game needs to implement interoperability for account assets between the official game package and the game package for HarmonyOS 5.0 and later.
You need to implement identity verification, anti-addiction for minors, and payment compliance control yourself for the official game account.
When users sign in with the official game account, devices running HarmonyOS 5.0 or later have an additional requirement: the device's basic game service will perform identity verification and anti-addiction for minors based on the HUAWEI ID signed in on the device. Even so, you still need to implement identity verification, anti-addiction for minors, and payment compliance control for sign-in based on the official game account.
When a user launches the game for the first time, the multi-provider sign-in panel is displayed.

Tap Sign in with Let's play account. The official game account sign-in page is displayed. The user enters the game after correctly entering their account information.
Tap Sign in with HUAWEI ID. The user signs in to the game with their HUAWEI ID, and a welcome banner is displayed on the top.
On subsequent launches, the game automatically uses the sign-in account from the user's previous session. For details about scenarios such as account switch and re-sign-in, please refer to In-Game Account Switch.