Releases: Cap-go/capacitor-native-biometric
Releases · Cap-go/capacitor-native-biometric
8.3.1
🆕 Changelog
Fixed
- Fixed crash on Android when using
useFallbackparameter by ignoring it on the Android platform, as biometric fallback authentication is not supported in the Android implementation
🔗 Full Changelog: 8.3.0...8.3.1
8.3.0
🆕 Changelog
Fixed
- Proper IV (Initialization Vector) generation for AES-GCM encryption on Android, ensuring secure encryption operations
- Error handling in decryption fallback logic to provide more robust credential recovery
- Length validation and removed sensitive data logging to prevent information leakage
- Multi-catch exception handling with subclass relationships for cleaner Java code
- Code formatting and explicit exception imports for better maintainability
Added
- Backward compatibility for legacy encrypted credentials, allowing seamless migration from older encryption methods
Security
- Improved encryption security with proper IV generation for AES-GCM
- Removed logging of sensitive credential information
- Enhanced error handling to prevent security vulnerabilities during decryption
🔗 Full Changelog: 8.2.0...8.3.0
8.2.0
🆕 Changelog
Added
- Dummy implementation for in-browser development to enable testing and development without native dependencies
Fixed
- Consistent error prefix for dummy implementation to improve error handling and debugging
Security
- Sanitized console logs to prevent credential exposure in development environments
Changed
- Improved code documentation for better maintainability
🔗 Full Changelog: 8.1.0...8.2.0
8.1.0
🆕 Changelog
Added
- Added support for Android device credentials (pattern, PIN, password) as an authentication method through new
DEVICE_CREDENTIALBiometryType - Added
isCredentialsSaved()method to check if biometric credentials are stored on the device - Added comprehensive security documentation warning about
verifyIdentity()bypass risks with secure usage patterns
Fixed
- Fixed handling of
MULTIPLE(case 6) authentication type ingetAllowedAuthenticatorsmethod - Fixed incorrect package reference by using correct
@capgo/capacitor-is-rootplugin instead of non-existent package
Changed
- Updated documentation with
isCredentialsSaved()example in demo app and README - Added clarifying comments to example functions demonstrating secure usage patterns
🔗 Full Changelog: 8.0.5...8.1.0
8.0.5
🆕 Changelog
Fixed
- Resolved keystore key generation failures by properly handling ProviderException errors during biometric authentication setup
Changed
- Updated example project's Vite dependency to version 7.3.1
🔗 Full Changelog: 8.0.4...8.0.5
8.0.4
🆕 Changelog
Changed
- Updated
.gitignoreto excludepackage-lock.jsonand.DS_Storefiles from version control
🔗 Full Changelog: 8.0.3...8.0.4
8.0.3
🆕 Changelog
Changed
- Updated formatting tooling to use
prettier-pretty-checkfor code style validation
🔗 Full Changelog: 8.0.2...8.0.3
8.0.2
🆕 Changelog
Changed
- Added homepage field to package.json for better package discoverability
- Updated development dependencies to ensure consistent build environment
🔗 Full Changelog: 8.0.1...8.0.2
8.0.1
🆕 Changelog
Changed
- Updated to support Capacitor 8.0.0, requiring apps to upgrade their Capacitor dependency to version 8.x or higher
Fixed
- Improved error handling in NativeBiometric classes for more reliable biometric authentication
- Enhanced code formatting and consistency across the native implementation
🔗 Full Changelog: 7.6.0...8.0.1
7.6.0
🆕 Changelog
Added
- Biometry availability listener to monitor changes in biometric authentication availability in real-time
- Enhanced
isAvailablemethod with improved capability detection
Fixed
- Significantly improved repository checkout performance
- Optimized fetch operations for faster data retrieval
🔗 Full Changelog: 7.5.4...7.6.0