I'm assuming that no phones with OS before marshmallow support the fingerprint API.
My questions are:
(a) Do all/any Samsung phones released with marshmallow support android fingerprint API
(b) Does any Samsung phones whose OS is upgraded to marshmallow support Android fingerprint API?
I've read these:
Fingerprint scanner not detected when using Android 6.0 Fingerprint API on Samsung S5
Samsung galaxy note 4 fingerprint not found
Android FingerPrint API isHardwareDetected returns false for Samsung Note 4
Devices with fingerprint sensor above 6.0 which are not using Android fingerprint SDK
but no definitive answers. Also samsung's website mentions that all samsung devices support Pass SDK but doesn't mention android fingerprint API support
Pass is the SDK responsible for Fingerprint feature for Samsung devices. What you can do, you can check if device is using
Pass
SDK or not.Below is code to check it:
Add below permissions to AndroidManifest.xml.
I hope this will help.
I can definitely tell you from my own experience that several Samsung phones continue to use Spass library even on Android M and over. For example right now I'm testing on Mobile OS: Android 6.0.1 (Galaxy Note 4 Edge). I've wrote some code that prints output to the logs in this way:
And from the logs in the console I see that although Android Version on the devices is M(6.0.1) - the method
returns false and the method goes to Spass lib initialization and it suceeds. So the device definitely using Spass library on android M.
From my small investigation a had found the following. Pass API will help with Samsung devices, which had fingerprint api before android 6. It is devices of 2014 year with a fingerprint. The list of devices can be found here. https://en.wikipedia.org/wiki/Samsung_Galaxy The main devices:
They do not support the standard Google FingerPrint Api even after updating android to 6 version.