SkillAgentSearch skills...

Io.monaca.touchid

Touch ID Plugin for Cordova / PhoneGap

Install / Use

/learn @monaca-plugins/Io.monaca.touchid
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated7y ago
Forks4

Languages

Objective-C

Security Score

60/100

Audited on Jan 17, 2019

No findings