Skip to content

monaca-plugins/io.monaca.touchid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • iOS 8

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.

  • successCallback: Called when the fingerprint matches the registered data.
  • failCallback: Called when the dialog is cancelled.
  • message: Message to display in the input dialog. Can be any string.

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.

About

Touch ID Plugin for Cordova / PhoneGap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published