biometric_auth_lock 0.2.1
biometric_auth_lock: ^0.2.1 copied to clipboard
A reusable biometric authentication and PIN lock service for Flutter apps with support for fingerprint, Face ID, and PIN fallback
We analyzed this package 8 hours ago, and awarded it 90 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/bienvenuelisis/biometric_auth_lock was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/bienvenuelisis/biometric_auth_lock was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/bienvenuelisis/biometric_auth_lock/issues was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
74 out of 1941 API elements (3.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: biometric_auth_lock.AVLTree, biometric_auth_lock.AVLTree.AVLTree.fromIList, biometric_auth_lock.AVLTree.AVLTree.new, biometric_auth_lock.AVLTree.all, biometric_auth_lock.AVLTree.any.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_android/local_auth_android.dartthat declares support for platforms:Android.
Package does not support platform `Windows`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `Linux`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `macOS`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_android/local_auth_android.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:biometric_auth_lock/biometric_auth_lock.dartthat imports:package:biometric_auth_lock/src/biometric_identity/local_auth_biometric_identity_service.dartthat imports:package:local_auth_darwin/local_auth_darwin.dartthat declares support for platforms:iOS,macOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/local_auth/local_auth_service.dart:35:11
╷
35 │ return biometricAuthData.fold(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/local_auth/local_auth_service.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/local_auth/local_auth_service.dart:130:9
╷
130 │ return biometricAuthData.fold(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/local_auth/local_auth_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dart3z |
^0.11.1 |
0.11.1 | 0.11.1 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
local_auth |
^2.3.0 |
2.3.0 | 3.0.2 | |
local_auth_android |
^1.0.52 |
1.0.56 | 2.0.10 | |
local_auth_darwin |
^1.6.0 |
1.6.1 | 2.0.4 | |
local_storage_impl |
^0.0.5 |
0.0.5 | 0.0.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
code_assets |
- | 2.0.0 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
flutter_secure_storage |
- | 9.2.4 | 11.1.1 | |
flutter_secure_storage_linux |
- | 1.2.3 | 3.0.3 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | Discontinued |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.1.0 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.1.1 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.2.2 | |
hooks |
- | 2.2.0 | 2.2.0 | |
intl |
- | 0.20.3 | 0.20.3 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
local_auth_platform_interface |
- | 1.1.0 | 1.1.0 | |
local_auth_windows |
- | 1.0.11 | 2.0.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.6 | 2.1.6 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
shared_preferences |
- | 2.5.5 | 2.5.5 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.2 | 2.4.2 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^2.3.0` on local_auth does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions local_auth to update the constraint.
The constraint `^1.0.52` on local_auth_android does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions local_auth_android to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.