Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

你好,未使用CryptoObject,可以考虑加一下吗? #87

Open
AndreTsao opened this issue Dec 11, 2019 · 1 comment
Open

你好,未使用CryptoObject,可以考虑加一下吗? #87

AndreTsao opened this issue Dec 11, 2019 · 1 comment

Comments

@AndreTsao
Copy link

你好,未使用CryptoObject,可以考虑加一下吗?
在AndroidFingerprint的authenticate 的第1个参数
mFingerprintManagerCompat.authenticate(null, 0, mCancellationSignal, new FingerprintManagerCompat.AuthenticationCallback() {
@OverRide
public void onAuthenticationSucceeded(FingerprintManagerCompat.AuthenticationResult result) {
super.onAuthenticationSucceeded(result);
onSucceed();
}

            @Override
            public void onAuthenticationFailed() {
                super.onAuthenticationFailed();
                onNotMatch();
            }

            @Override
            public void onAuthenticationError(int errMsgId, CharSequence errString) {
                super.onAuthenticationError(errMsgId, errString);
                onFailed(errMsgId == 7); // FingerprintManager.FINGERPRINT_ERROR_LOCKOUT
            }
        }, null);
@AndreTsao
Copy link
Author

加一下CryptoObject更安全,考虑一下吧,亲

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant