in-display-fingerprint

How to identify if device has in-display Biometric fingerprint support?

元气小坏坏 提交于 2019-12-04 11:30:47
问题 I'm writing a application feature to authenticate user using Biometric fingerprint authentication API. And it worked as expected with combination of BiometricPrompt API. In general it display own UI dialog so it can be unified across Android device.(Improvement from Fingerprint Manager API) In one of device testing scenario I come across in-display(on screen, e.g. Oneplus 6T device) fingerprint support instead rear biometric hardware option. When I run application on it, on call of

How to identify if device has in-display Biometric fingerprint support?

梦想与她 提交于 2019-12-03 07:07:24
I'm writing a application feature to authenticate user using Biometric fingerprint authentication API. And it worked as expected with combination of BiometricPrompt API. In general it display own UI dialog so it can be unified across Android device.(Improvement from Fingerprint Manager API) In one of device testing scenario I come across in-display (on screen, e.g. Oneplus 6T device) fingerprint support instead rear biometric hardware option. When I run application on it, on call of biometricPrompt.authenticate(..) instead of dialog it display in-display fingerprint authentication option.