To receive event notifications from the Huawei game server when a key event occurs, configure the callback address of your server in AppGallery Connect. For details about the notification sending API, such as its prototype, please refer to Account Disassociation Notification. The key event and its corresponding processing logic are described in the following table.
| Key Event | Processing Logic to Be Implemented by the Game |
|---|---|
| A user deletes their HUAWEI ID. | Clear the account data. |
To configure the callback address of your server in AppGallery Connect, perform the following steps:
Sign in to AppGallery Connect, click Development and services, and select the target project and game.
Choose Build > Game Service from the navigation pane on the left, and set Account Scheme Access Callback Address Configuration to your server address. The callback address must support HTTPS and have a valid commercial certificate. This address is used by the Huawei game server to send event notifications when key events occur.
