An open API service indexing awesome lists of open source software.

https://github.com/aaronksaunders/biometics-plugin-example

ionic react application demonstrating biometric authentication
https://github.com/aaronksaunders/biometics-plugin-example

android biometric-authentication capacitor faceid-authentication ionic-framework ios reactjs touchid-authentication

Last synced: about 1 month ago
JSON representation

ionic react application demonstrating biometric authentication

Awesome Lists containing this project

README

          

# biometics-plugin-example
---
- this is an example Ionic Capacitor Application using the [fingprint.io plugin](https://danielsogl.gitbook.io/awesome-cordova-plugins/fingerprint-aio-1)
- has been tested on ios and android

```
npm install cordova-plugin-fingerprint-aio
```

using in react application

```javascript
// import statement
import { FingerprintAIO } from "@awesome-cordova-plugins/fingerprint-aio";

```

Check if available
```javascript
(async () => {
try {
const isAvailable = await FingerprintAIO.isAvailable();
console.log(isAvailable);
} catch (error) {
console.log(error);
}
})();
```

Display FaceId or FingerPrint Id
```javascript
(async () => {
try {
const showResp = await FingerprintAIO.show({
disableBackup: false,
title: "test display",
});
console.log('Show Response', showResp);
} catch (error) {
console.log(error);
}
})();
```