-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keystore key generation failed #101
Comments
After some debugging turns out that this exception is cause when the device has not configured any biometrics. We forgot to also check if it's enabled before trying to save the credentials. Still, I understand that the generateKey method should return an error that can be trapped inside the catch instead of crashing the app. |
I have a similar problem on my Google Pixel 7, using Capacitor v5. I noticed that if I unlock the phone using face unlock, I can't use my fingerprint to log into the app. When I unlock the phone using my fingerprint or pin, the app authentication works fine. It was fine in previous Capacitor version (v4) Any solutions? Thanks! |
We're running into the same problem. Here's another stack trace we're seeing on some devices:
Further testing on many other devices reveals the following facts:
|
I ended up refactoring the Android support to use |
Description:
Using Firebase Crashlytics I have a lot of errors about Keystore key generation failed.
Library version:
Platforms:
Devices:
Exception:
Code:
Conclusion:
Any advice or a fix would be appreciated.
The text was updated successfully, but these errors were encountered: