[Huawei Developers] Mike-mei:
HMS Core provided the following updates in May for Flutter, React Native, Cordova, and Xamarin.

Framework​

Plugin​

Corresponding Native Kit Version​

Changelog​

Flutter	Push	Push 6.10.0.300

Resolved a performance-related issue.

Adapted to Android 13 (targetSdkVersion=33).​

Health	Health 6.10.0.301

Supported the following data types: periodic breathing sampling events, aperiodic breathing sampling events, sleep breathing records, reading historical data, and continuous blood glucose data. Specifically speaking, the following fields are added to the HealthDataTypes class: DT_SLEEP_RESPIRATORY_DETAIL, DT_SLEEP_RESPIRATORY_EVENT, DT_HEALTH_RECORD_VENTILATOR, DT_CGM_BLOOD_GLUCOSE, and POLYMERIZE_CGM_BLOOD_GLUCOSE_STATISTICS.

Added the following fields to the HealthFields class: SYS_MODE, SYS_SESSION_DATE, EVENT_AHI, SYS_DURATION, LUMIS_TIDVOL_MEDIAN, LUMIS_TIDVOL, LUMIS_TIDVOL_MAX, CLINICAL_RESPRATE_MEDIAN, CLINICAL_RESP_RATE, CLINICAL_RESP_RATE_MAX, LUMIS_IERATIO_MEDIAN, LUMIS_IERATIO_QUANTILE, LUMIS_IERATIO_MAX, MASK_OFF, HYPOVENTILATION_INDEX, OBSTRUCTIVE_APNEA_INDEX, PRESSURE_BELOW, HYPOVENTILATION_EVENT_TIMES, SNORING_EVENT_TIMES, CENTER_APNEA_EVENT_TIMES, OBSTRUCTIVE_APNEA_EVENT_TIMES, AIR_FLOW_LIMIT_EVENT_TIMES, MASSIVE_LEAK_EVENT_TIMES, UNKNOW_EVENT_TIMES, and ALL_EVENT_TIMES.

Added the following fields to the Field class: SLEEP_RESPIRATORY_TYPE, SLEEP_RESPIRATORY_VALUE, and EVENT_NAME.

Added the following fields to the Scope class: HEALTHKIT_HISTORYDATA_OPEN_WEEK, HEALTHKIT_HISTORYDATA_OPEN_MONTH, and HEALTHKIT_HISTORYDATA_OPEN_YEAR.

Added the following result codes to the HiHealthStatusCodes class: 50064 (HEALTH_APP_NOT_ENABLED) and 50065 (HISTORY_PERMISSIONS_INSUFFCIENT).

[IMPORTANT] Removed setTimeInterval and setFieldValue, as well as their related fields, from SampleSet. SampleSets are now native-like.

Changed healthRecordId from a mandatory field for HealthRecord to an optional one. Note that this field is still necessary for health record update and deletion.

Added the function of integrating the HMS Core Installer SDK to prompt users to download HMS Core (APK), to make sure that your app can properly use capabilities of HMS Core (APK).

Scan	Scan 2.10.0.301

Updated the Scan SDK to its latest version (2.10.0.301).

Added relevant instructions in the "Adding Permissions" section.

Updated the development procedure and code of the Default View mode.

Added RESULT_CODE (indicating the scanning result) to ScanUtil.

Added setErrorCheck(boolean var1) for listening to errors to HmsScanAnalyzerOptions.Creator.

Added supplementary information about the personal information collected by the SDK.

React Native	Push

Resolved a performance-related issue.

Adapted to Android 13 (targetSdkVersion=33).

Health	Health 6.10.0.301

Updated targetSDKversion to 33, to make sure that your app can run properly on Android 13.

Added and opened the following data types: periodic breathing sampling events and aperiodic breathing sampling events.

Added and opened the data of sleep breathing records.

Added the following fields to HealthDataTypes: DT_HEALTH_RECORD_VENTILATOR (sleep breathing records), DT_SLEEP_RESPIRATORY_DETAIL (periodic breathing sampling events), and DT_SLEEP_RESPIRATORY_EVENT (aperiodic breathing sampling events).

Allowed for querying historical user data by week, month, and year.

Opened continuous blood glucose data.

Added error codes HEALTH_APP_NOT_ENABLED and HISTORY_PERMISSIONS_INSUFFCIENT.

Added constants HEALTHKIT_HISTORYDATA_OPEN_WEEK, HEALTHKIT_HISTORYDATA_OPEN_MONTH, and HEALTHKIT_HISTORYDATA_OPEN_YEAR to Scopes, respectively indicating the scopes of reading historical data by week, month, and year.

Added DT_CGM_BLOOD_GLUCOSE and POLYMERIZE_CGM_BLOOD_GLUCOSE_STATISTICS to HealthDataTypes, respectively indicating the continuous blood glucose data type and the continuous blood glucose statistical data type.

Optimized the data openness scopes of Health Kit.

Scan	Scan 2.10.0.301

Supported ultra-large display of barcodes in split-screen mode.

Supported smart lamps for kids.

Supported some features of the e-ink tablets.

Added setErrorCheck(boolean var1) for listening to errors to HmsScanAnalyzerOptions.Creator.

Added RESULT_CODE (indicating the scanning result) to ScanUtil.

Changed the scanning UI title of the Default View mode from Scan to either Scan QR code or Scan QR code/barcode, which can be set via the setViewType method added to the HmsScanAnalyzerOptions.Creator class.

Fixed the issue of occasional first-frame overexposure on some device models, to improve the barcode recognition rate.

Supported Android 13.

Updated targetSdkVersion to 33.

Cordova	Push	Push 6.10.0.300

Resolved a performance-related issue.

Adapted to Android 13 (targetSdkVersion=33).

Health	Health 6.10.0.301

Updated the value ranges of some fields of the following data types: weight, body temperature, blood pressure, and blood glucose.

Added the following fields to HealthDataTypes: DT_HEALTH_RECORD_VENTILATOR (sleep breathing records), DT_SLEEP_RESPIRATORY_DETAIL (periodic breathing sampling events), and DT_SLEEP_RESPIRATORY_EVENT (aperiodic breathing sampling events).

Added DT_CGM_BLOOD_GLUCOSE and POLYMERIZE_CGM_BLOOD_GLUCOSE_STATISTICS to HealthDataTypes, respectively indicating the continuous blood glucose data type and the continuous blood glucose statistical data type.

Added constants HEALTHKIT_HISTORYDATA_OPEN_WEEK, HEALTHKIT_HISTORYDATA_OPEN_MONTH, and HEALTHKIT_HISTORYDATA_OPEN_YEAR to Scopes, respectively indicating the scopes of reading historical data by week, month, and year.

Added error codes HEALTH_APP_NOT_ENABLED and HISTORY_PERMISSIONS_INSUFFCIENT.

Modified the parameters of addActivityRecord, addHealthRecord, and updateHealthRecord.

Updated targetSDKversion to 33.

Scan	Scan 2.10.0.301

Supported ultra-large display of barcodes in split-screen mode.

Supported smart lamps for kids.

Supported some features of the e-ink tablets.

Added setErrorCheck(boolean var1) for listening to errors to HmsScanAnalyzerOptions.Creator.

Added RESULT_CODE (indicating the scanning result) to ScanUtil.

Changed the scanning UI title of the Default View mode from Scan to either Scan QR code or Scan QR code/barcode, which can be set via the setViewType method added to the HmsScanAnalyzerOptions.Creator class.

Fixed the issue of occasional first-frame overexposure on some device models, to improve the barcode recognition rate.

Supported Android 13.

Updated targetSdkVersion to 33.

Xamarin	Push	Push 6.10.0.300

Resolved a performance-related issue.

Health	Health 6.10.0.301

Updated targetSDKversion to 33, to make sure that your app can run properly on Android 13.

Added and opened the following data types: periodic breathing sampling events and aperiodic breathing sampling events.

Added and opened the data of sleep breathing records.

Added the following fields to HealthDataTypes: DT_HEALTH_RECORD_VENTILATOR (sleep breathing records), DT_SLEEP_RESPIRATORY_DETAIL (periodic breathing sampling events), and DT_SLEEP_RESPIRATORY_EVENT (aperiodic breathing sampling events).

Allowed for querying historical user data by week, month, and year.

Opened continuous blood glucose data.

Added error codes HEALTH_APP_NOT_ENABLED and HISTORY_PERMISSIONS_INSUFFCIENT.

Added constants HEALTHKIT_HISTORYDATA_OPEN_WEEK, HEALTHKIT_HISTORYDATA_OPEN_MONTH, and HEALTHKIT_HISTORYDATA_OPEN_YEAR to Scopes, respectively indicating the scopes of reading historical data by week, month, and year.

Added DT_CGM_BLOOD_GLUCOSE and POLYMERIZE_CGM_BLOOD_GLUCOSE_STATISTICS to HealthDataTypes, respectively indicating the continuous blood glucose data type and the continuous blood glucose statistical data type.

Optimized the data openness scopes of Health Kit.

Scan	Scan 2.10.0.301

Supported ultra-large display of barcodes in split-screen mode.

Supported smart lamps for kids.

Supported some features of the e-ink tablets.

Added setErrorCheck(boolean var1) for listening to errors to HmsScanAnalyzerOptions.Creator.

Added RESULT_CODE (indicating the scanning result) to ScanUtil.

Changed the scanning UI title of the Default View mode from Scan to either Scan QR code or Scan QR code/barcode, which can be set via the setViewType method added to the HmsScanAnalyzerOptions.Creator class.

Fixed the issue of occasional first-frame overexposure on some device models, to improve the barcode recognition rate.

Added setErrorCheck(boolean var1) for listening to errors to NativeView.

HMS Core has provided plugins for many kits on multiple platforms for developers. Welcome to HUAWEI Developers for more plugin information.