Android Latest release: 5.0.0.301
New features
Added the function of automatically adding allowlist members to the obfuscation configuration file of HUAWEI Analytics SDK in Android Studio.
Modified features
Added automatic binding and unbinding of HMS services while setting regHmsSvcEvent() and unRegHmsSvcEvent() to Deprecated.
Resolved the failure of reporting the predefined ORDERID event.
IOS Latest release: 5.0.0.300
New features
Added the support for integration of HUAWEI Analytics Kit with iOS apps to implement data collection and unified analysis on iOS devices.
Analytics Kit 4.0.3 (2020-04-10)
Latest release: 4.0.3.300
1. Changed the status of the setCurrentActivity () API to Deprecated. Added the pageStart() and pageEnd() APIs to support the collection of entry and exit events of non-activity pages. For details, please refer to the description of related APIs.
2. Added preconfigured e-commerce events.
3. Optimized the event reporting mechanism. If the AppGallery Connect token is empty, the event will not be reported.
Latest release: 4.0.2.300
1. Mobile apps developed using the React Native framework can integrate the React Native SDK and use HUAWEI Analytics Kit.
2. Supported automatic collection events for ads and dynamic links.
3. Added error codes for exception scenarios.
Latest release: 4.0.1.300
The in-app purchases automatic event collection is supported.
The input parameter verification rules of the onEvent() and setUserProfile() APIs are optimized.
Latest release: 4.0.0.303
1. Supported the integration of HMS Core Analytics SDK into your app project in the Eclipse IDE.
2. Added the function of automatically reporting HUAWEI ID sign-in and sign-out events.
Added the regHmsSvcEvent() and unRegHmsSvcEvent() APIs for the HMS Core Analytics SDK to register and deregister the HMS Core service.
3. Added the DTM data filter function.
4. Added the function of using the HMS Core Analytics SDK in the A/B test of AppGallery Connect.
Added the getUserProperties() API to obtain customized user attributes.
5. Added the function of automatically collecting the LAUNCHAPP event each time an app is launched.
Deleted HiAnalyticsInstallReceiver and HiAnalyticsReceiver.
1. Modified the names of APIs, predefined events, and constants.
2. When the setUserId() API is called, a new session is generated if the old value ofuserIdis not empty and is different from the new value.
3. The installation attribution information is reported through the automatic event APPFIRSTOPEN.
4. The input parameter eventId of onEvent() is used for filter, so that if an event ID is reserved by the SDK, this event is not recorded.
5. When the SDK cannot obtain values of AAID and androidId, the data collected at specified tracing points is not reported but is recorded locally.
Development documentation for the HMS Core (APK) 3.0
1. The SDK of the latest version runs on a mobile phone with HMS Core (APK) 4.0.0.300 or later installed. On a mobile phone that does not have HMS Core (APK) of 4.0.0.300 or later installed, the user will be prompted to install it when your app calls HMS Core (APK).
2. Basic features of HUAWEI Analytics Kit are available on most Huawei devices, whereas some advanced features are available only on Huawei devices running EMUI of the required versions. For details, see the EMUI Version-Dependent Features.