Giter Club home page Giter Club logo

Comments (8)

gaoyangcr7 avatar gaoyangcr7 commented on September 17, 2024 1

【FingerprintManager】have support for Api23 ~ Api27。
【FingerprintManagerCompat】in the support v4 lib,it is a wrapper for FingerprintManager。
Above Api28,FingerprintManager was deprecated,replaced by【BiometricPrompt】,but Biometricprompt still hasn't seen support iris or face interface

from biometricpromptdemo.

gaoyangcr7 avatar gaoyangcr7 commented on September 17, 2024 1

Yes!

from biometricpromptdemo.

gaoyangcr7 avatar gaoyangcr7 commented on September 17, 2024

What is your compile sdk version? It must be 28

from biometricpromptdemo.

thangkho avatar thangkho commented on September 17, 2024

apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "gaoyang.biometricdemo"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation project(':biometriclib')
}
I download your app and not edit.

from biometricpromptdemo.

gaoyangcr7 avatar gaoyangcr7 commented on September 17, 2024

Try this:https://stackoverflow.com/questions/49915775/failed-to-find-byte-code-for-android-hardware-fingerprint-fingerprintmanageraut

just disable Instant Run

from biometricpromptdemo.

thangkho avatar thangkho commented on September 17, 2024

Thank you!
a marginal question: In blog https://android-developers.googleblog.com/2018/06/better-biometrics-in-android-p.html. Bimometrics have support for android O or lower if import library. Where I can get BimometricPrompt compat library and they said Biometricprompt can suppor for face and iris but when I read in document https://developer.android.com/reference/android/hardware/biometrics/BiometricPrompt. I can't see support for iris or face. Biometricprompt is really support for iris and face?

from biometricpromptdemo.

thangkho avatar thangkho commented on September 17, 2024

It mean if api <28 I can't use BiometricPrompt?

from biometricpromptdemo.

thangkho avatar thangkho commented on September 17, 2024

thank you so much! good luck

from biometricpromptdemo.

Related Issues (10)

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.