Skip to content

swernimo/capacitor-biometric-auth

 
 

Repository files navigation

capacitor-biometric-plugin

A capacitor plugin for using biometric features of android and iOS devices. This is a capacitor 4 version of the plugin created by Ariel Henández Musa https://github.com/arielhernandezmusa/capacitor-biometric-auth.

Install

npm install capacitor-biometric-plugin
npx cap sync

API

isAvailable()

isAvailable() => Promise<AvailableOptions>

Returns: Promise<AvailableOptions>


verify(...)

verify(options: { reason: string; }) => Promise<VerifyOptions>
Param Type
options { reason: string; }

Returns: Promise<VerifyOptions>


Interfaces

AvailableOptions

Prop Type
has boolean
status ErrorCode
type 'none' | 'touch' | 'face'

ErrorCode

Prop Type
error number
description string

VerifyOptions

Prop Type
verified boolean
status ErrorCode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 42.6%
  • Java 38.6%
  • TypeScript 6.8%
  • Ruby 5.3%
  • Objective-C 4.1%
  • JavaScript 2.6%