huawei_contactshield 6.4.0+300 copy "huawei_contactshield: ^6.4.0+300" to clipboard
huawei_contactshield: ^6.4.0+300 copied to clipboard

discontinued
PlatformAndroid

To help confront the global pandemic of coronavirus disease 2019, Huawei provides Contact Shield for developers to develop epidemic prevention and control apps.

6.4.0+300 #

  • Deleted the capability of prompting users to install HMS Core (APK).
  • Supported the new Bluetooth permissions in Android 12.

6.1.0+301 #

  • Breaking Change: Null-safety migration.
  • Contact Shield SDK is updated to the newest version.

5.1.0+301 #

  • Updated HMSLogger.

5.1.0+300 #

Breaking Changes

  • PeriodicKey's content field type is changed from Uint8List to Int8List.
  • startContactShieldOld() method is renamed to startContactShieldCb().
  • putSharedKeyFilesOld() method is renamed to putSharedKeyFiles().
  • putSharedKeyFiles() method is renamed to putSharedKeyFilesCb().

New Methods

  • putSharedKeyFilesCbWithKeys(): Provides the shared key list file obtained from the diagnosis server to the Contact Shield SDK. The SDK performs signature verification on the key file. If the Window mode is used a maximum of 60 calls are allowed within 24 hours.

  • putSharedKeyFilesCbWithProvider(): Provides the shared key list file obtained from the diagnosis server to the Contact Shield SDK. If the Window mode is used a maximum of 60 calls are allowed within 24 hours.

  • setSharedKeysDataMapping(): Sets a SharedKeysDataMapping object as the default configuration for the Window mode risk calculation.

  • getSharedKeysDataMapping(): Obtains the SharedKeysDataMapping object.

  • getDailySketch(): Obtains the daily contact summary. This is a new API added for the Window mode.

  • getContactShieldVersion(): Obtains the current API version.

  • getDeviceCalibrationConfidence(): Obtains the calibration confidence of the Bluetooth broadcast power of the current device.

  • isSupportScanningWithoutLocation(): Checks whether the device supports Bluetooth scanning without location permission.

  • getStatus(): Obtains the status of the current ContactShield Service.

    New Classes

  • SketchData: Defines contact summary data.

  • DailySketch: Defines daily contact summary.

  • DailySketchConfiguration: Configuration information of DailySketch.

  • SharedKeysDataMapping: Mapping definition of SharedKey.

  • Contagiousness: Defines contagiousness

  • CalibrationConfidence: Calibration confidence of the Bluetooth BLE broadcast power.

  • ContactShieldStatus: The running status of Contact Shield.

  • CsApiException: HMS Core ApiException class encapsulated in Contact Shield, which is used to return the API calling status.

  • StatusCode: Defines the Contact Shield status code.

5.0.4+300 #

  • Initial release.
3
likes
140
pub points
0%
popularity

Publisher

verified publisherdeveloper.huawei.com

To help confront the global pandemic of coronavirus disease 2019, Huawei provides Contact Shield for developers to develop epidemic prevention and control apps.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on huawei_contactshield