@capgo/capacitor-native-biometric
Advanced tools
@@ -132,2 +132,6 @@ package ee.forgr.biometric; | ||
| isAvailable = true; | ||
| } else if (hasWeakBiometric) { | ||
| // Weak-only biometrics (e.g. some face unlock) are reported for UX via | ||
| // biometryType/authenticationStrength but do not enable verifyIdentity(). | ||
| authenticationStrength = AUTH_STRENGTH_WEAK; | ||
| } else if (fallbackAvailable) { | ||
@@ -134,0 +138,0 @@ authenticationStrength = AUTH_STRENGTH_WEAK; |
@@ -14,3 +14,3 @@ import Foundation | ||
| public class NativeBiometricPlugin: CAPPlugin, CAPBridgedPlugin { | ||
| private let pluginVersion: String = "8.4.12" | ||
| private let pluginVersion: String = "8.4.13" | ||
| public let identifier = "NativeBiometricPlugin" | ||
@@ -17,0 +17,0 @@ public let jsName = "NativeBiometric" |
+4
-3
| { | ||
| "name": "@capgo/capacitor-native-biometric", | ||
| "version": "8.4.12", | ||
| "version": "8.4.13", | ||
| "description": "This plugin gives access to the native biometric apis for android and iOS", | ||
@@ -37,3 +37,3 @@ "main": "dist/plugin.cjs.js", | ||
| "scripts": { | ||
| "verify": "bun run verify:ios && bun run verify:android && bun run verify:web", | ||
| "verify": "bun run check:is-available && bun run verify:ios && bun run verify:android && bun run verify:web", | ||
| "verify:ios": "xcodebuild -scheme CapgoCapacitorNativeBiometric -destination generic/platform=iOS", | ||
@@ -54,3 +54,4 @@ "verify:android": "cd android && ./gradlew clean build test && cd ..", | ||
| "example:install": "cd example-app && bun install --frozen-lockfile", | ||
| "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build" | ||
| "example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build", | ||
| "check:is-available": "node scripts/check-is-available-result.mjs" | ||
| }, | ||
@@ -57,0 +58,0 @@ "devDependencies": { |
262074
0.14%3015
0.13%