Fixed
Status Update
Comments
kc...@google.com <kc...@google.com>
kc...@google.com <kc...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
cu...@google.com <cu...@google.com>
kc...@google.com <kc...@google.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
rh...@gmail.com <rh...@gmail.com> #4
This error was reintroduced in 1.0.0-beta02
kc...@google.com <kc...@google.com> #5
Do you have a stack trace? I don't see any suspicious commits.
rh...@gmail.com <rh...@gmail.com> #6
Process: com.rhi.rockethq.testing, PID: 15209
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter errString
at com.rhi.rockethq.Helpers.AccountAuth.BiometricAuthenticationHandler$initializeBiometricPrompt$1$1.onAuthenticationError(Unknown Source:6)
at androidx.biometric.BiometricFragment$2$1.run(BiometricFragment.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)
rh...@gmail.com <rh...@gmail.com> #7
Its occurring on Samsung devices after facial recognition fails.
kc...@google.com <kc...@google.com> #8
Ok, I'll fork that to a new bug for investigation - b/141700902
Description
Not sure how to reproduce but crash shows up in Crashlytics.
Inspecting the code offers an explanation:
If `FingerprintHelperFragment.sendErrorToClient()` is passed an int that is not ERROR_HW_NOT_PRESENT,
ERROR_HW_UNAVAILABLE, ERROR_NO_BIOMETRICS or ERROR_USER_CANCELED `getErrorString()` returns null which is passed to onAuthenticationError which is annotated @NonNull.
This causes a crash when AuthenticationCallback is implemented in Kotlin