smart_liveliness_detection 0.1.5
smart_liveliness_detection: ^0.1.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 2 days ago, and awarded it 140 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
.
10/10 points: 20% or more of the public API has dartdoc comments
135 out of 166 API elements (81.3 %) have documentation comments.
Some symbols that are missing documentation: smart_liveliness_detection
, smart_liveliness_detection.Challenge.Challenge.new
, smart_liveliness_detection.ChallengeCompletedCallback
, smart_liveliness_detection.FinalImageCapturedCallback
, smart_liveliness_detection.LivenessCompletedCallback
.
10/10 points: Package has 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_liveliness_detection/smart_liveliness_detection.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:smart_liveliness_detection/smart_liveliness_detection.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:smart_liveliness_detection/smart_liveliness_detection.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:smart_liveliness_detection/smart_liveliness_detection.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:smart_liveliness_detection/smart_liveliness_detection.dart
that imports:package:smart_liveliness_detection/src/widgets/liveliness_detection_screen.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: Unused import: 'dart:typed_data'.
lib/src/services/face_detection_service.dart:2:8
╷
2 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/face_detection_service.dart
/tmp/pana_SPXBRG/lib/src/config/app_config.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
camera |
^0.11.2 |
0.11.2 | 0.11.2 | |
cupertino_icons |
^1.0.8 |
1.0.8 | 1.0.8 | |
google_mlkit_face_detection |
^0.13.1 |
0.13.1 | 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+1 | 0.6.23+1 | |
camera_avfoundation |
- | 0.9.22+1 | 0.9.22+1 | |
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.31 | 2.0.31 | |
google_mlkit_commons |
- | 0.11.0 | 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 `^6.1.1` on sensors_plus does not support the stable version `7.0.0`, that was published 28 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.