Git Product home page Git Product logo

Comments (4)

codingjeremy avatar codingjeremy commented on August 27, 2024

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.

codingjeremy avatar codingjeremy commented on August 27, 2024

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.

codingjeremy avatar codingjeremy commented on August 27, 2024

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.

isaidamier avatar isaidamier commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.