
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
rn-local-authentication
Advanced tools
The library helps you to authenticate users biometrically
The library helps you to authenticate users biometrically natively on both iOS and Android devices. For iOS LocalAuthentication Framework is used, and for android: androidx.biometric:biometric
framework (BiometricPrompt, BiometricManager)
Inspired by react-native-fingerprint-scanner and Android BiometricPrompt class that manages a system-provided biometric prompt.
Under construction
Read Getting Started Guide. If any step seems unclear, please create a detailed issue.
Breaking History:
iOS example
Import LocalAuthentication
from rn-local-authentication
and use it like so:
import React from 'react';
import { View } from 'react-native';
import LocalAuthentication from 'rn-local-authentication';
// ...
class MyComponent extends React.Component {
componentDidMount() {
LocalAuthentication.authenticateAsync({
reason: "Authorize please!"
}).then(response => {
if (response.success) {
console.log('Authorized successfully!');
} else {
console.log(`Something went wrong. Error: ${response.error}`);
}
})
}
render() {
return (<View />);
}
// ...
}
link to example launch
MIT
FAQs
The library helps you to authenticate users biometrically
The npm package rn-local-authentication receives a total of 731 weekly downloads. As such, rn-local-authentication popularity was classified as not popular.
We found that rn-local-authentication demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.