Crash when using Biometric API on some devices

311 Views Asked by At

We use androidx.biometric:biometric:1.0.1 in our application, and on some devices we get an error


Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setVisibility(int)' on a null object reference

at androidx.biometric.fingerprintDialogFragment.onCreateDialog(FingerPrintDialogFragment.java:199)

Code on this line is

subtitleView.setVisibility(View.VISIBLE);

How can we solve this problem? We also tried to use alpha release, but problem still available

0

There are 0 best solutions below