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

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

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

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 enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/keychain-touch-id

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

  • Android
  • iOS

Ionic 指纹 Keychain Touch Id插件的用法(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));