secure_app_lock 1.0.1
secure_app_lock: ^1.0.1 copied to clipboard
A Flutter package that provides secure app lock functionality with PIN code and biometric authentication support.
We analyzed this package 23 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
4 out of 48 API elements (8.3 %) 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: secure_app_lock
, secure_app_lock.AppLockController
, secure_app_lock.AppLockController.AppLockController.new
, secure_app_lock.AppLockController.biometricsEnabled
, secure_app_lock.AppLockController.disable
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
Package does not support platform `Web`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that declares support for platforms:Android
,iOS
,Windows
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that imports:package:local_auth/src/local_auth.dart
that imports:package:local_auth_windows/local_auth_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that imports:package:local_auth/src/local_auth.dart
that imports:package:local_auth_windows/local_auth_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that imports:package:local_auth/src/local_auth.dart
that imports:package:local_auth_darwin/local_auth_darwin.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that imports:package:local_auth/src/local_auth.dart
that imports:package:local_auth_windows/local_auth_windows.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:secure_app_lock/secure_app_lock.dart
that imports:package:secure_app_lock/src/secure_lock.dart
that imports:package:secure_app_lock/src/app_lock_controller.dart
that imports:package:secure_app_lock/src/local_auth_service.dart
that imports:package:local_auth/local_auth.dart
that imports:package:local_auth/src/local_auth.dart
that imports:package:local_auth_darwin/local_auth_darwin.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: The import of 'app_lock_screen_wrapper.dart' is unnecessary because all of the used elements are also provided by the import of '../secure_app_lock.dart'.
lib/src/app_lock_lifecycle_watcher.dart:3:8
╷
3 │ import 'app_lock_screen_wrapper.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app_lock_lifecycle_watcher.dart
INFO: The import of 'pin_code_page.dart' is unnecessary because all of the used elements are also provided by the import of '../secure_app_lock.dart'.
lib/src/app_lock_lifecycle_watcher.dart:4:8
╷
4 │ import 'pin_code_page.dart';
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app_lock_lifecycle_watcher.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_secure_storage |
^9.2.4 |
9.2.4 | 9.2.4 | |
local_auth |
^2.3.0 |
2.3.0 | 2.3.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.