smart_liveness_detection 0.0.1-beta.5
smart_liveness_detection: ^0.0.1-beta.5 copied to clipboard
This package helps you verify that a real person is present in front of the camera, not a photo, video, or mask.
We analyzed this package 3 hours ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: smart_liveness_detection
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: smart_liveness_detection
.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
117 out of 147 API elements (79.6 %) have documentation comments.
Some symbols that are missing documentation: smart_liveness_detection
, smart_liveness_detection.Challenge.Challenge.new
, smart_liveness_detection.ChallengeCompletedCallback
, smart_liveness_detection.LivenessCompletedCallback
, smart_liveness_detection.LivenessConfig.LivenessConfig.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:smart_liveness_detection/smart_liveness_detection.dart
that imports:package:smart_liveness_detection/src/widgets/liveness_detection_screen.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:smart_liveness_detection/smart_liveness_detection.dart
that imports:package:smart_liveness_detection/src/widgets/liveness_detection_screen.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:smart_liveness_detection/smart_liveness_detection.dart
that imports:package:smart_liveness_detection/src/widgets/liveness_detection_screen.dart
that imports:package:camera/camera.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Web`.
Because:
package:smart_liveness_detection/smart_liveness_detection.dart
that imports:package:smart_liveness_detection/src/controllers/liveness_controller.dart
that imports:package:smart_liveness_detection/src/services/face_detection_service.dart
that imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:smart_liveness_detection/smart_liveness_detection.dart
that imports:package:smart_liveness_detection/src/controllers/liveness_controller.dart
that imports:package:smart_liveness_detection/src/services/face_detection_service.dart
that imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dart
that imports:package:google_mlkit_face_detection/src/face_detector.dart
that imports:package:google_mlkit_commons/google_mlkit_commons.dart
that imports:package:google_mlkit_commons/src/input_image.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 13 issues. Showing the first 2:
INFO: 'accelerometerEvents' is deprecated and shouldn't be used. Use accelerometerEventStream() instead.
lib/src/services/motion_service.dart:28:9
╷
28 │ accelerometerEvents.listen((AccelerometerEvent event) {
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/motion_service.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/widgets/instruction_overlay.dart:64:29
╷
64 │ color: Colors.black.withOpacity(0.7),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/instruction_overlay.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera |
^0.11.0+2 |
0.11.2 | 0.11.2 | |
cupertino_icons |
^1.0.8 |
1.0.8 | 1.0.8 | |
google_mlkit_face_detection |
^0.9.0 |
0.9.0 | 0.13.1 | |
provider |
^6.1.2 |
6.1.5+1 | 6.1.5+1 | |
sensors_plus |
^6.1.1 |
6.1.2 | 7.0.0 | |
uuid |
^4.5.1 |
4.5.1 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
camera_android_camerax |
- | 0.6.23 | 0.6.23 | |
camera_avfoundation |
- | 0.9.22 | 0.9.22 | |
camera_platform_interface |
- | 2.11.0 | 2.11.0 | |
camera_web |
- | 0.3.5 | 0.3.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.30 | 2.0.30 | |
google_mlkit_commons |
- | 0.6.1 | 0.11.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sensors_plus_platform_interface |
- | 2.0.1 | 2.0.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.9.0` on google_mlkit_face_detection does not support the stable version `0.10.0`.
Try running dart pub upgrade --major-versions google_mlkit_face_detection
to update the constraint.
The constraint `^6.1.1` on sensors_plus does not support the stable version `7.0.0`, that was published 22 days ago.
When sensors_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions sensors_plus
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.