Keychain Touch Id

Contents

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?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-keychain-touch-id npm install @ionic-native/keychain-touch-id
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/keychain-touch-id

Supported Platforms

  • Android
  • iOS

Usage

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));