capacitor-local-auth
v0.1.0
Published
use FaceID and TouchID for iOS in your capaticor/ionic project
Downloads
12
Readme
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; }>