BMPrinter is the first open source project from SKYSTAR and BCM
1.Has Adapted most of phone with fingerprint above Android N,included XIAOMI,MEIZU,VIVO,OPPO,Samsung and google.
2.Has Adapted underscreen fingerprint,include XIAOMI,VIVO,OPPO.
3.Has Adapted some phone above Android L.
Gradle:
implementation project(':bmprinter')
All code is write with kotlin,so it would be best you know kotlin and java.
1.get BMPrinter
var fingerprintUtil: IFingerprintUtil = createFingerprintUtil()
2.authenticate
fingerprintUtil?.authenticate { success, errCode, errMsg -> if(success){}}
3.FingerprintFactory
you can see some status for fingerprint authentication in FingerprintFactory.
It has change FingerPrint api to BiometricPrompt and BiometricPrompt only can be built as a dialog.
New version has support android P.