Skip to main content

Keychain Touch Id

A cordova plugin adding the iOS TouchID / Android fingerprint to your app and allowing you to store a password securely in the device keychain.

https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Installation#

$ npm install cordova-plugin-keychain-touch-id
$ npm install @ionic-native/keychain-touch-id
$ ionic cap sync

Supported Platforms#

  • Android
  • iOS

Usage#

React#

Learn more about using Ionic Native components in React

Angular#

import { KeychainTouchId } from '@ionic-native/keychain-touch-id/ngx';
constructor(private keychainTouchId: KeychainTouchId) { }
...
this.keychainTouchId.isAvailable()
.then((res: any) => console.log(res))
.catch((error: any) => console.error(error));