New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-fingerprint-scanner

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fingerprint-scanner - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

package-lock.json

2

package.json
{
"name": "react-native-fingerprint-scanner",
"version": "2.4.0",
"version": "2.5.0",
"description": "React Native Fingerprint Scanner for Android and iOS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -225,3 +225,5 @@ # React Native Fingerprint Scanner

- Returns a `Promise`
- Returns a `Promise<string>`
- `biometryType: String` - The type of biometric authentication supported by the device.
- `error: FingerprintScannerError { name, message }` - The reason of failure.

@@ -232,2 +234,3 @@ ```javascript

.isSensorAvailable()
.then(biometryType => this.setState({ biometryType }))
.catch(error => this.setState({ errorMessage: error.message }));

@@ -291,2 +294,10 @@ }

### `Types of Biometrics`
| Value | OS |
|---|---|
| Touch ID | iOS |
| Face ID | iOS |
| Fingerprint | Android |
### `Errors`

@@ -306,2 +317,3 @@

| FingerprintScannerNotSupported | Device does not support Fingerprint Scanner |
| DeviceLocked | Authentication was not successful, the device currently in a lockout of 30 seconds |

@@ -308,0 +320,0 @@ ## License

@@ -12,2 +12,3 @@ const ERRORS = {

FingerprintScannerNotSupported: 'Device does not support Fingerprint Scanner.',
DeviceLocked: 'Authentication was not successful, the device currently in a lockout of 30 seconds'
};

@@ -14,0 +15,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc