You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

expo-local-authentication

Package Overview
Dependencies
Maintainers
26
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.1.1 to 12.2.0

build/ExpoLocalAuthentication.d.ts.map

1

build/ExpoLocalAuthentication.d.ts
declare const _default: import("expo-modules-core").ProxyNativeModule;
export default _default;
//# sourceMappingURL=ExpoLocalAuthentication.d.ts.map

@@ -10,1 +10,2 @@ import { AuthenticationType, SecurityLevel } from './LocalAuthentication.types';

export default _default;
//# sourceMappingURL=ExpoLocalAuthentication.web.d.ts.map

4

build/LocalAuthentication.d.ts

@@ -42,4 +42,6 @@ import { LocalAuthenticationOptions, AuthenticationType, LocalAuthenticationResult, SecurityLevel } from './LocalAuthentication.types';

/**
* **(Android Only)** Cancels authentication flow.
* Cancels authentication flow.
* @platform android
*/
export declare function cancelAuthenticate(): Promise<void>;
//# sourceMappingURL=LocalAuthentication.d.ts.map

@@ -84,3 +84,4 @@ import { UnavailabilityError } from 'expo-modules-core';

/**
* **(Android Only)** Cancels authentication flow.
* Cancels authentication flow.
* @platform android
*/

@@ -87,0 +88,0 @@ export async function cancelAuthenticate() {

@@ -56,2 +56,9 @@ export declare type LocalAuthenticationResult = {

/**
* Sets a hint to the system for whether to require user confirmation after authentication.
* This may be ignored by the system if the user has disabled implicit authentication in Settings
* or if it does not apply to a particular biometric modality. Defaults to `true`.
* @platform android
*/
requireConfirmation?: boolean;
/**
* Allows to customize the default `Use Passcode` label shown after several failed

@@ -64,1 +71,2 @@ * authentication attempts. Setting this option to an empty string disables this button from

};
//# sourceMappingURL=LocalAuthentication.types.d.ts.map

@@ -13,6 +13,26 @@ # Changelog

## 12.1.1 — 2022-02-01
## 12.2.0 — 2022-04-18
### 🎉 New features
- Add the ability to set confirmation requirement on Android. ([#16793](https://github.com/expo/expo/pull/16793) by [@fguitton](https://github.com/fguitton))
### 🐛 Bug fixes
- On Android fixed `BiometricPrompt.ERROR_CANCELED` returned when fallbacking to PIN/Pattern/Password authentication method. ([#16927](https://github.com/expo/expo/pull/16927) by [@bbarthec](https://github.com/bbarthec), [@Polidoro-root](https://github.com/Polidoro-root))
### 💡 Others
- Updated `@expo/config-plugins` from `4.0.2` to `4.0.14` ([#15621](https://github.com/expo/expo/pull/15621) by [@EvanBacon](https://github.com/EvanBacon))
- Updated `androix.biometric.biometric` from `1.1.0` to `1.2.0-alphas04`. ([#16927](https://github.com/expo/expo/pull/16927) by [@bbarthec](https://github.com/bbarthec), ([#16927](https://github.com/expo/expo/pull/16927) by [@bbarthec](https://github.com/bbarthec), [@Polidoro-root](https://github.com/Polidoro-root))
- Bumped `compileSdkVersion` from `30` to `31`. ([#16927](https://github.com/expo/expo/pull/16927) by [@bbarthec](https://github.com/bbarthec), ([#16927](https://github.com/expo/expo/pull/16927) by [@bbarthec](https://github.com/bbarthec), [@Polidoro-root](https://github.com/Polidoro-root))
### ⚠️ Notices
- On Android bump `compileSdkVersion` to `31`, `targetSdkVersion` to `31` and `Java` version to `11`. ([#16941](https://github.com/expo/expo/pull/16941) by [@bbarthec](https://github.com/bbarthec))
## 12.1.1 - 2022-02-01
### 🐛 Bug fixes
- Fix `Plugin with id 'maven' not found` build error from Android Gradle 7. ([#16080](https://github.com/expo/expo/pull/16080) by [@kudo](https://github.com/kudo))

@@ -19,0 +39,0 @@

{
"name": "expo-local-authentication",
"version": "12.1.1",
"version": "12.2.0",
"description": "Provides an API for FaceID and TouchID (iOS) or the Fingerprint API (Android) to authenticate the user with a face or fingerprint scan.",

@@ -41,3 +41,3 @@ "main": "build/LocalAuthentication.js",

"dependencies": {
"@expo/config-plugins": "^4.0.2",
"@expo/config-plugins": "^4.0.14",
"invariant": "^2.2.4"

@@ -51,3 +51,3 @@ },

},
"gitHead": "ba24eba18bf4f4d4b0d54828992d81a2bb18246a"
"gitHead": "22dce752354bb429c84851bc4389abe47a766b1f"
}

@@ -7,8 +7,8 @@ # expo-local-authentication

- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/local-authentication.md)
- [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/local-authentication/)
- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/local-authentication.md)
- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/local-authentication/)
# Installation in managed Expo projects
For [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/local-authentication/).
For [managed](https://docs.expo.dev/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/local-authentication/).

@@ -15,0 +15,0 @@ # Installation in bare React Native projects

@@ -105,3 +105,4 @@ import { UnavailabilityError } from 'expo-modules-core';

/**
* **(Android Only)** Cancels authentication flow.
* Cancels authentication flow.
* @platform android
*/

@@ -108,0 +109,0 @@ export async function cancelAuthenticate(): Promise<void> {

@@ -58,2 +58,9 @@ export type LocalAuthenticationResult =

/**
* Sets a hint to the system for whether to require user confirmation after authentication.
* This may be ignored by the system if the user has disabled implicit authentication in Settings
* or if it does not apply to a particular biometric modality. Defaults to `true`.
* @platform android
*/
requireConfirmation?: boolean;
/**
* Allows to customize the default `Use Passcode` label shown after several failed

@@ -60,0 +67,0 @@ * authentication attempts. Setting this option to an empty string disables this button from

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc