Open yoprogramo opened 6 years ago
It may be happening as your application is resuming from the background. My guess is that the fingerprint dialog was open and then the application was sent to the background. This was a previously reported issue and had been corrected by adding dismissAllowingStateLoss()
to the dialog fragment. Try opening the dialog and then put your application in the background and then bring it back to the foreground and see if that helps reproduce the issue.
Application crashes, might be the same issue on following devices,
1) Huawei Mate 9 Pro (HWLON), Android 8.0 2) Samsung Galaxy A8(2018) (jackpotlte), Android 8.0,
java.lang.IllegalStateException:
at android.security.keystore.AndroidKeyStoreUnauthenticatedAESCipherSpi.addAlgorithmSpecificParametersToBegin (AndroidKeyStoreUnauthenticatedAESCipherSpi.java:244)
at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized (AndroidKeyStoreCipherSpiBase.java:237)
at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal (AndroidKeyStoreCipherSpiBase.java:495)
at javax.crypto.Cipher.doFinal (Cipher.java:1736)
at com.cordova.plugin.android.fingerprintauth.FingerprintAuth.onAuthenticated (FingerprintAuth.java:614)
at com.cordova.plugin.android.fingerprintauth.FingerprintAuthenticationDialogFragment.onAuthenticated (FingerprintAuthenticationDialogFragment.java:259)
at com.cordova.plugin.android.fingerprintauth.FingerprintUiHelper$3.run (FingerprintUiHelper.java:167)
at android.os.Handler.handleCallback (Handler.java:808)
at android.os.Handler.dispatchMessage (Handler.java:101)
at android.os.Looper.loop (Looper.java:166)
at android.app.ActivityThread.main (ActivityThread.java:7425)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)
Hello, unable to replicate on debug, but obtained from Android vitals on play store for several users:
Some clue?