- Minor bug fixes.
- Modified the ON_MOVE_BACKGROUND_POLICY policy as a mandatory one.
- Breaking Change: Android API 33 support has been added.
- Added the getDataUploadSiteInfo API to the HiAnalyticsInstance class to support the Global Router Service (GRS) function.
- Breaking Changes:
- Modified the internal structure of the plugin. Please use import package:huawei_analytics/huawei_analytics.dart not to get any errors.
- Breaking Change: Added the
getInstance({String routePolicy})
method. With this versiongetInstance
method must be called from the application to initialize plugin in iOS platform. - Support the
setMinActivitySessions
,setCollectAdsIdEnabled
andaddDefaultEventParams
methods on iOS devices.
- [Breaking Change] Added the
getInstance({String routePolicy})
method. With this versiongetInstance
method must be called from the application to initialize plugin in Android platform. - Added events to HAEventType.
- Added parameters to HAParamType.
- Added attributes to HAUserProfileType.
- Added
setChannel
,setPropertyCollection
andsetCustomReferrer
methods to HMSAnalytics class. - Supported on devices running Android 12.
- Deleted the capability of prompting users to install HMS Core (APK).
- Added the setCollectAdsIdEnabled and addDefaultEventParams methods.
- Changed the value of minSdkVersion from 18 to 19
- Changed the value of minSdkVersion from 19 to 18 to support more mobile phones.
- Added custom data support to onEvent API.
- [Breaking Change] Deleted the OccurredTime and InstallTime parameters from the automatically collected events and predefined events.
- Updated HMSLogger.
- Added the setRestrictionEnabled, isRestrictionEnabled and deleteUserProfile methods.
- Added getReportPolicyThreshold. This function is specifically used by Android Platforms.
- Update for the demo project.
- Added the HAUserProfileType.
- Update HAEventType and HAParamType.
- Added the enableLogger and disableLogger methods.
- Support for iOS.
- Update for the demo project.
- Initial release.