Comments (4)
Comment by thagikura
Tuesday Aug 02, 2016 at 09:03 GMT
Because you need to register at least one fingerprint and set up a lock screen (The APIs of the FingerprintManager expect so).
At this moment, registered fingerprints can unlock the device. There is no way to to register a fingerprint that can't unlock the lock screen.
from security-samples.
Comment by AndroidDeveloperLB
Tuesday Aug 02, 2016 at 09:53 GMT
But it makes no sense. Why can't apps be able to use fingerprints and get a unique identifier (based on their package names too, so that it won't be the same across apps), and use it as a way to unlock features and buy stuff?
Unlocking the device's lock screen is not the same as purchasing or unlocking private/protected content from the app.
Anyway, I've written a request for this:
https://code.google.com/p/android/issues/detail?id=218972
I hope it will be added. Currently the fingerprint scanner API is very limited to just one scenario of using it only when it's set for lock screens...
from security-samples.
Comment by AndroidDeveloperLB
Tuesday Aug 02, 2016 at 09:58 GMT
Also, about this:
"There is no way to to register a fingerprint that can't unlock the lock screen."
I think it should be optional. I'd like to be able to unlock the lock screen using any fingerprint, just because it's easier than turning on the screen and then unlocking (or double tap to wake, which for some reason is still absent on Nexus devices) . Here's a request about it I wrote a while ago:
https://code.google.com/p/android/issues/detail?id=205820
from security-samples.
Hi, we are reserving this site for questions about the sample apps specifically. For more general questions about Biometrics on Android, please use StackOverflow with tag android-biometric.
Also this sample is being deprecated in favor of BiometricLoginKotlin
from security-samples.
Related Issues (20)
- Attachment.PLATFORM cause RESULT_CANCELED
- lerning
- Get Which Biometric is used for authentication on Onsucesscallback
- Meizu crashed when using AndroidKeyStore HOT 1
- I face the crash in xiaomi10
- Fido auth with Android SDK. Error from a server: invalid origin HOT 3
- low level error 0x6a80(28) HOT 1
- Not getting any callback while the IRIS scanner failed to authenticate a user.
- crash in samsung HOT 2
- androidx.biometric.BiometricPrompt.authenticate no longer works on android versions < 30 HOT 1
- Getting crash upon registering a new fingerprint on device HOT 1
- Biometrics Support for Multiple Users in the app(Token Based)
- Fido app: Missing or invalid authentication
- Is defining asset_statements necessary?
- BiometricLoginKotlin: crash at Emulator API33 HOT 2
- Fido2 PIN
- Min SDK Version
- fido2 404 Not Found
- When upgrading AGP from version 7.2.2 to 7.3.1, the implementation I had for detecting if there was a change in the biometric (e.g. adding a new fingerprint) does not work. HOT 1
- Android enable android:directBootAware="true" and android:defaultToDeviceProtectedStorage="true" 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 security-samples.