EddyVerbruggen / cordova-plugin-touch-id

:nail_care: 👱‍♂️ Forget passwords, use a fingerprint scanner!
MIT License
214 stars 72 forks source link

PhoneGap Build using 3.3.1 instead of 3.4.0 for Android #72

Closed danicholls closed 5 years ago

danicholls commented 5 years ago

Per the logs:

Fetching plugin "cordova-plugin-touch-id@~3.4.0" via npm Installing "cordova-plugin-touch-id" at "3.3.1" for android

Relevant config.xml snippets:

<preference name="phonegap-version" value="cli-8.1.1" /> <!-- also tried other CLI versions -->
<preference name="pgb-builder-version" value="2" /> <!-- also tried the legacy builder -->
<plugin name="cordova-plugin-touch-id" spec="~3.4.0">
    <variable name="FACEID_USAGE_DESCRIPTION" value=" " />
</plugin>

As of right now, iOS is working, but for Android window.plugins.touchid.isAvailable seems to say no, even with a present fingerprint, etc. (Devices tested were not Samsung, so not a Samsung Pass issue. One was a Google Pixel XL.)

danicholls commented 5 years ago

LOL. Well, I dunno! Somehow thought from some other issues and reading elsewhere that this plugin supported Android. A little confused as to why it even builds 3.3.1.