Comments (3)
What device are you using? What is the FailureReason returned in onError?
I'll look into this in more detail, but on first glance it's obvious that you shouldn't restart the activity like this. It's possible that is causing the issue. If you want to retry fatal errors, you should write your own action to pass to retry
. Keep in mind that a fatal error means that the fingerprint scanner is unavailable or has locked you out, so restarting will return an error immediately in that case.
from reprint.
The android emulator.
On Aug 9, 2016 17:53, "AJ Alt" [email protected] wrote:
What device are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ajalt/reprint/issues/15#issuecomment-238716982, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlGe-gYiCZRy1rbZtPDBBx5D1NWbiZbks5qeQTagaJpZM4Jgb7R
.
from reprint.
First off, thanks for the code to reproduce the issue. It's really helpful.
So what's happening is that the system is locking the sensor due to too many failed authentication attempts. Nexus devices usually do that after five failures, and lock the sensor for 30 seconds or so. Samsung devices so all sorts of stuff, including disabling the sensor indefinitely until the user types in their password.
If the sensor is locked or unavailable, onError
will get called immediately, and there's nothing that can be done about it. The authentication is not tied to an Activity, so restarting won't unlock the sensor.
Let me know if you still have questions.
from reprint.
Related Issues (20)
- Working only after resuming from standby HOT 9
- No support fingerprint HOT 4
- Restart fingerprint authentication onsuccess HOT 7
- CryptoObject HOT 7
- IllegalStateException in MarshmallowReprintModule.java HOT 8
- Create a method that detects fingerprint changes HOT 5
- NO_HARDWARE with Galaxy Note 4
- Samsung module HOT 1
- spass startIdentify or startIdentifyWithDialog HOT 1
- AGP 3.2.0-alpha18 Error HOT 2
- Use with Gradle 3 "implementation" (instead of compile) HOT 5
- its not working in service but in activity its working fine HOT 4
- BiometricPRompt support and Spass version 1.2.6 HOT 14
- NoClassDefFoundError CancellationSignal HOT 3
- Failed to transform file 'reprint_spass-3.2.1.aar' HOT 1
- Also Use USE_BIOMETRIC Permission HOT 7
- Face authentication HOT 9
- Listeners should be set to null after calling onFailure or onSuccess to avoid memory leak HOT 3
- onFailure immediately called on some devices HOT 3
- Fatal Exception: android.content.res.Resources$NotFoundException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reprint.