Fingerprint AIOβ

Improve this doc

This plugin is still in beta stage and may not work as expected. Please submit any issues to the plugin repo.

$ ionic plugin add cordova-plugin-fingerprint-aio
$ npm install --save @ionic-native/fingerprint-aio

Repo: https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio

Use simple fingerprint authentication on Android and iOS. Requires Cordova plugin: cordova-plugin-fingerprint-aio. For more info about plugin, vist: https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio

Supported platforms

Usage

import { FingerprintAIO } from '@ionic-native/fingerprint-aio';

constructor(private faio: FingerprintAIO) { }

...

this.faio.show({
    clientId: "Fingerprint-Demo",
    clientSecret: "password", //Only necessary for Android
    disableBackup:true  //Only for Android(optional)
})
.then((result: any) => console.log(result))
.catch((error: any) => console.log(error));

Instance Members

isAvailable()

Check if fingerprint authentication is available

Returns: Promise<any> Returns a promise with result

show(options)

Show authentication dialogue

Param Type Details
options FingerprintOptions

options for platform specific fingerprint API

Returns: Promise<any> Returns a promise that resolves when authentication was successfull

FingerprintOptions

Param Type Details
clientId string

Key for platform keychain

clientSecret string

Secret password. Only for android

(optional)
disableBackup boolean

Disable 'use backup' option. Only for android (optional)

(optional)

API

Native

General