If you want to call HUAWEI Account Kit APIs, perform as follows:
Register on HUAWEI Developer and apply for an app ID.
Integrate the HUAWEI Account SDK into your app.
Use your app to call the HUAWEI Account SDK to access the HUAWEI ID sign-in authorization interface. The permission assigned by users on the app is displayed on the interface.
Use your app to call the HUAWEI Account SDK to access the APIs of the permission.
The HUAWEI Account SDK requires the following permissions:
android.permission.ACCESS_NETWORK_STATE: Checks the network connection status.
android.permission.ACCESS_WIFI_STATE: Obtains the Wi-Fi connection status and the information about Wi-Fi hotspots.
The HUAWEI Account SDK needs to connect to the network to collect and process the following information to identify devices and provide custom services:
Device information: Includes the operating system version and device model.
Network information: Includes the network connection status, network connection mode and type.
Data access control
Your app must pass the signature authentication before calling the SDK APIs.
Your app requires user sign-in and data access permission before accessing required data through the SDK APIs.