cordova-plugin-ios-faceid

1.0.2 • Public • Published

cordova-plugin-ios-faceid

A cordova plugin for iOS face identification and touch identification.

npm taobaonpm

Installation

cordova plugin add cordova-plugin-ios-faceid

Usage

CID.checkAuth()

CID.checkAuth(reason, successCallback, errorCallback)

  • reason the reason why your app wants to use authentication with biometrics
  • successCallback the callback when authentication successful
  • errorCallback the callback when the function not work

This method works for both face and touch identification. If your device is iPhone X/XS/XR/XS Max, it will invoke face identification. If not, then touch identification.

Demo

Ionic demo: https://github.com/Cheney925/ionic-for-cordova-plugin-ios-faceid

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    3
  • 1.0.1
    1
  • 1.0.0
    2

Package Sidebar

Install

npm i cordova-plugin-ios-faceid

Weekly Downloads

6

Version

1.0.2

License

ISC

Unpacked Size

16.4 kB

Total Files

7

Last publish

Collaborators

  • cheneyhu