The SDK needs to be loaded to your app when you package the app. The SDK starts to record and report user behavior data when a user launches the app, and is stopped immediately after the user closes the app, without performing any additional operations in the background.
HUAWEI Analytics Kit has integrated the required permissions. Therefore, you do not need to apply for these permissions:
android.permission.INTERNET: Internet permission.
android.permission.ACCESS_NETWORK_STATE: Network status check permission.
com.huawei.appmarket.service.commondata.permission.GET_COMMON_DATA: AppGallery channel number query permission.
The SDK collects the following types of data:
Common event attributes: ROM version number, device model, app name, package name, channel number, app version number, operating system version, system language, manufacturer, screen width, screen height, and operation time.
Custom event: user-defined collection event data.
The SDK collects and encrypts message data locally and reports data to the collection server through HTTPS.