monaca-plugins / io.monaca.touchid

Touch ID Plugin for Cordova / PhoneGap
17 stars 4 forks source link

iOS Touch ID Plugin for Cordova / PhoneGap

This is a Cordova Plugin for using Touch ID sensor equipped with iPhone 5s. You need to build with iOS 8 SDK or the compile will fail.

Platforms

Installation

Install with cordova plugin or plugman command. The JavaScript module will be injected automatically.

$ cordova plugin add http://github.com/monaca-plugins/io.monaca.touchid

Usage

monaca.touchid.auth(successCallback, failCallback, message);

Displays Touch ID authentication screen, and ask for user fingerprint.

Sample App

You can see the sample app from the following GitHub repo.

https://github.com/monaca-plugins/samples/

"Touch ID Sample"

How to Use

Described in our blog post. See the post here.

License

Copyright by Monaca. Distributed under Apache 2.0 License.