0.1.0 • Published 10 months ago

capacitor-local-auth v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

capacitor-local-auth

use FaceID and TouchID for iOS in your capaticor/ionic project

Install

npm install capacitor-local-auth
npx cap sync

API

isAvailable()

isAvailable() => Promise<{ isAvailable: boolean; biometryType: 'faceID' | 'touchID' | 'none'; }>

Returns: Promise<{ isAvailable: boolean; biometryType: 'faceID' | 'touchID' | 'none'; }>


authenticate()

authenticate() => Promise<{ success: boolean; }>

Returns: Promise<{ success: boolean; }>


0.1.0

10 months ago

0.0.1

10 months ago