xamarin Android条用指纹验证的时候,
小米10 回调OnAuthenticationFailed 会返回1021
小米6 回调OnAuthenticationFailed 会返回1022
魅族 回调OnAuthenticationFailed 会返回1001
OnAuthenticationFailed一般是指纹移动过快才会触发,
目前解决办法是,跳过。。。
public override void OnAuthenticationHelp(int helpMsgId, ICharSequence helpString) {
if (helpMsgId == 1021 || helpMsgId == 1022 || helpMsgId == 1023||helpMsgId==1001) {
} else {
Log.Debug(TAG, "OnAuthenticationHelp: {0}:`{1}`", helpString, helpMsgId);
ReportScanFailure(helpMsgId, helpString.ToString());
}
}