Kivy: How to authenticate Kivy apps using fingerprint scanners

Created on 28 Apr 2016  路  3Comments  路  Source: kivy/kivy

I am hoping to make use of fingerprint scanners within my Kivy app for authentication.

Unfortunately, I haven't found any documentation regarding how to do this. I'm quite new to Kivy development, and I was hoping to achieve this by (e.g. for Android) importing the android API and calling the appropriate method. However after reading this stackoverflow response it appears:

Fingerprint scanner is not a feature in Android. So each company as Samsung, Motorola, HTC create is own API and SDK to access to fingerprint sensor.

(e.g. SamsungPass). Although I then found this

Google has now announced a generic fingerprint API for Android that can be utilised by any custom apps for authorisation ...

<uses-permission android:name="android.permission.USE_FINGERPRINT" />

Any help regarding how I can add fingerprint authentication to Kivy apps is greatly appreciated. Thanks

Most helpful comment

You're welcome, pyobjus can be used to access the iOS API.
https://github.com/kivy/pyobjus

All 3 comments

@asmith26, you could use pyjnius to access the Java api, it's included by default in Kivy apps packaged for Android.
https://github.com/kivy/pyjnius

Thanks for this information @dessant - do you know if there is a simliar API for iOS?

You're welcome, pyobjus can be used to access the iOS API.
https://github.com/kivy/pyobjus

Was this page helpful?
0 / 5 - 0 ratings