local_biometrics_manager 0.1.2
local_biometrics_manager: ^0.1.2 copied to clipboard
Biometric authentication for Flutter on Android and iOS: fingerprint, face and iris detection, device-credential fallback, custom prompts and a live status stream.
Changelog #
0.1.2 #
- Fix:
BiometricRequest.allowedTypeswas accepted but ignored by the native layers. IncludingdeviceCredentials(orany) now permits the device PIN/pattern/passcode on both platforms. Documented clearly that the OS does not allow forcing a single biometric modality (face-only / fingerprint-only). - Fix:
BiometricStatus.availableTypesnow means "hardware present" on both Android and iOS (iOS previously gated it on enrolment), so the field is consistent cross-platform. UseisEnrolled/isAvailablefor usability. - Add enrolment-aware
canAuthenticateStrong/canAuthenticateWeaktoBiometricHardwareInfo. - Docs: clarified that
has*SensorandisBiometricSupportedreport hardware capability, not enrolment.
0.1.1 #
- Add Swift Package Manager support for iOS (alongside CocoaPods).
- Shorten the package description to meet pub.dev length guidelines.
- Rename the Android/Kotlin namespace to
com.solax.umer.
0.1.0 #
Initial release.
- Biometric status queries: availability, enrolment, available types, lockout and hardware info.
- Authentication with a customizable prompt (title, subtitle, description), optional device-credential fallback, confirmation requirement and a configurable timeout.
- Android-only prompt theming via
BiometricUIConfig. isBiometricSupportedper-type capability check.cancelAuthenticationto dismiss an in-flight prompt.- Live
onBiometricStatusChangedstream. - Android implementation on AndroidX
BiometricPrompt(API 21+). - iOS implementation on
LocalAuthentication(iOS 12+). - Unit tests covering the facade, model decoding and the method channel.