Comments (7)
I'm not clear on your request. Can you provide more details on what you want?
from reprint.
I meant USE_FINGERPRINT permission was already deprecated starting on Android Pie. Can we also have the library USE_BIOMETRIC as well for Android Pie compatibility?
from reprint.
Technically, reprint 3.3.1 can also be used on android Pie, the question should be to swap out FingerprintCompatManager
api to BiometricPrompt
api from the androidx BiometricPrompt library from Google. This library should provide support for android devices which utilises any form of biometric authentication not only fingerprint.
However it is currently in alpha, alpha-03 to be exact, as shown here https://developer.android.com/jetpack/androidx/releases/biometrics#1.0.0-alpha03 and here in maven https://mvnrepository.com/artifact/androidx.biometric/biometric/.
Perhaps a branch in preparation for use of this new biometricprompt library?
This library also is aa appCompat library as it supports api level 14 onwards.
from reprint.
This library doesn't use FingerprintManagerCompat
any more, due to bugs in it's implementation. So I probably won't use the androidx library either. I don't see a reason not to add the USE_BIOMETRIC
in addition to USE_FINGERPRINT
, however.
from reprint.
Ah my apologies I meant FingerprintManager
not FingerprintManagerCompat
. As stated in https://developer.android.com/reference/android/hardware/fingerprint/FingerprintManager it's deprecated in API 28 in favour of androidx biometricPrompt
api
from reprint.
I started a PR with this change but I closed it because it would require devices with Pie to use a hacky workaround to determine if a fingerprint is registered. This may cause even more compatibility issues. I'll keep the branch around if anyone wants to look into it more.
from reprint.
Echoing @benwicks comment, it looks like using BiometricPrompt
has no advantages currently (since it just forwards calls to FingerprintManager
), and does have some drawbacks (the workaround). So I'm going to keep using FingerprintManager
for now, but we can revisit this when future versions of Android come out.
Thanks again to @benwicks for working on this!
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
- 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.