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

Ionic 指纹 Keychain Touch Id插件的安装(Installation)

ionic cordova plugin add cordova-plugin-keychain-touch-id npm install @ionic-native/keychain-touch-id

Ionic 指纹 Keychain Touch Id插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic 指纹 Keychain Touch Id插件的用法(Usage)

import { KeychainTouchId } from '@ionic-native/keychain-touch-id';


constructor(private keychainTouchId: KeychainTouchId) { }

...


this.keychainTouchId.isAvailable()
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));