- Breaking Changes
- Use
SafetyDetect.statusCodes
instead ofSafetyDetectStatusCodes
. - Modified the internal structure of the plugin. Please use import package:huawei_safetydetect/huawei_safetydetect.dart not to get any errors.
- Use
- Updated the framework version.
- Optimized user experience and solved several known issues.
- Nullsafety migration.
- Added the result code USER_DETECT_PERMISSION, indicating no permission to show a popup for fake user detection on some non-Huawei phones.
- Added signature verification algorithm support to the SysIntegrity API. Supported algorithms are RS256 and PS256.
- Updated to newest sdk version.
- Updated HMSLogger.
- Initial release.