- Dart improvements.
- Bank card recognition: Added the onBcrFailResult(MLBcrCaptureResult result) method to the CustomView.OnBcrResultCallback API.
-
Added
setUserRegionandgetCountryCodemethods to MLTextApplication. -
Breaking Changes:
- With this release,
MLTextPermissionshas been removed. You are expected to handle required permissions on your own. You can learn more about the required permissions from our official documentations. - Modified the internal structure of the plugin. Please use import package:huawei_ml_text/huawei_ml_text.dart not to get any errors.
Updated API List
- MLTextEmbeddingAnalyzer:
- Return type of
analyzeSentenceVectorchanged toList<double>fromList<dynamic>. - Return type of
analyseWordVectorchanged toList<double>fromList<dynamic>. - Return type of
analyseSimilarWordschanged toList<String>fromList<dynamic>. - Return type of
analyseWordVectorBatchchanged toMap<String, List<double>>fromdynamic.
- Return type of
- With this release,
- Deleted the capability of prompting users to install HMS Core (APK).
- Initial release.