Closed jskrepnek closed 7 years ago
I've been able to reproduce this crash by placing the app in the background before the FingerPrint dialog is displayed. You could handle the pause and resume events to prevent it being displayed manually or setting KeepRunning to false to prevent the app from getting to the point of display also appears to stop the crash.
Looking through the forks I noticed https://github.com/kiliankoller/cordova-plugin-android-fingerprint-auth/commit/4c0cf1cf24cdfc6a1d5eca19eddeffc8f406fdcb which I tried locally (Applied changes to the latest version) and it seems to stop the crashing from occurring for me.
Reading up on the issue, it's one of the last resort methods, but better than the crashing I'm experiencing.
I've already merged that change into the repo. I just haven't published a new version. I guess I need to do that.
On second glance, no I don't have those changes merged. I'll work on merging them and publish a new release.
change published in version 1.2.8
Hi,
Any thoughts about the following crash:
Here's a snippet around the line from FingerprintAuth:
My quick attempt at research seems to suggest that showing the fragment is happening asynchronously after such actions should be taken?
Seems to be affecting a variety of 6+ devices.
Thanks for any help.