crokta_liveness 1.7.0 copy "crokta_liveness: ^1.7.0" to clipboard
crokta_liveness: ^1.7.0 copied to clipboard

A Flutter SDK for Face Liveness Verification, passive/active liveness UI.

130/ 160
pub points
365
downloads

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Crokta/face-guard was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

47 out of 48 API elements (97.9 %) have documentation comments.

Some symbols that are missing documentation: crokta_liveness.LivenessProvider.LivenessProvider.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:crokta_liveness/crokta_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:crokta_liveness/crokta_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:crokta_liveness/crokta_liveness.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:crokta_liveness/crokta_liveness.dart that declares support for platforms: Android, iOS.

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:crokta_liveness/crokta_liveness.dart that imports:
  • package:crokta_liveness/src/providers/aws_rekognition_provider.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/utils/file_key_value_store.dart that declares support for platforms: iOS, Windows, Linux, macOS, Web.
Package does not support platform `iOS`.

Because:

  • package:crokta_liveness/crokta_liveness.dart that imports:
  • package:crokta_liveness/src/providers/aws_rekognition_provider.dart that imports:
  • package:amplify_flutter/amplify_flutter.dart that imports:
  • package:amplify_secure_storage/amplify_secure_storage.dart that imports:
  • package:amplify_secure_storage/src/amplify_secure_storage.vm.dart that imports:
  • package:amplify_secure_storage_dart/amplify_secure_storage_dart.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.dart that imports:
  • package:amplify_secure_storage_dart/src/mixins/amplify_secure_storage_mixin.vm.dart that imports:
  • package:amplify_secure_storage_dart/src/platforms/amplify_secure_storage_windows.dart that imports:
  • package:amplify_secure_storage_dart/src/ffi/win32/data_protection.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/providers/aws_rekognition_provider.dart:135:11

    ╷
135 │ ┌           return LivenessResult.failure(
136 │ └               LivenessStatus.fail, 'Context is no longer valid');
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/aws_rekognition_provider.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/providers/aws_rekognition_provider.dart:196:11

    ╷
196 │           _deleteLocalFile(videoPath);
    │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/aws_rekognition_provider.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
amplify_auth_cognito ^2.11.0 2.15.0 2.15.0
amplify_flutter ^2.11.0 2.15.0 2.15.0
camera ^0.12.0+1 0.12.1 0.12.1
face_liveness_detector ^0.2.11 0.2.11 0.2.11
google_mlkit_face_detection ^0.13.2 0.13.2 0.15.1
http ^1.2.0 1.6.0 1.6.0
path_provider ^2.1.2 2.1.6 2.1.6
uuid ^4.3.3 4.6.0 4.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
amplify_analytics_pinpoint - 2.15.0 2.15.0
amplify_analytics_pinpoint_dart - 0.4.21 0.4.21
amplify_auth_cognito_dart - 0.11.25 0.11.25
amplify_core - 2.15.0 2.15.0
amplify_db_common - 0.4.21 0.4.21
amplify_db_common_dart - 0.4.23 0.4.23
amplify_secure_storage - 0.5.21 0.5.21
amplify_secure_storage_dart - 0.5.12 0.5.12
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
aws_common - 0.7.15 0.7.15
aws_signature_v4 - 0.6.13 0.6.13
built_collection - 5.1.1 5.1.1
built_value - 8.13.0 8.13.0
camera_android_camerax - 0.7.4+8 0.7.4+8
camera_avfoundation - 0.10.3 0.10.3
camera_platform_interface - 2.13.1 2.13.1
camera_web - 0.3.5+6 0.3.5+6
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
convert - 3.1.2 3.1.2
crclib - 3.0.0 3.0.0
cross_file - 0.3.5+5 0.3.5+5
crypto - 3.0.7 3.0.7
device_info_plus - 13.2.0 13.2.0
device_info_plus_platform_interface - 8.1.0 8.1.0
drift - 2.35.0 2.35.0
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
glob - 2.2.0 2.2.0
google_mlkit_commons - 0.11.1 0.13.0
graphs - 2.3.2 2.3.2
hooks - 2.2.0 2.2.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
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
json_annotation - 4.12.0 4.12.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
native_toolchain_c - 0.19.4 0.19.4
oauth2 - 2.0.5 2.0.5
objective_c - 9.6.0 9.6.0
os_detect - 2.0.3 2.0.3
package_config - 3.0.0 3.0.0
package_info_plus - 10.2.1 10.2.1
package_info_plus_platform_interface - 4.1.0 4.1.0
path - 1.9.1 1.9.1
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
petitparser - 7.0.2 7.0.2
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
process - 5.0.6 5.0.6
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
retry - 3.1.2 3.1.2
shelf - 1.4.2 1.4.2
smithy - 0.7.13 0.7.13
smithy_aws - 0.7.13 0.7.13
source_span - 1.10.2 1.10.2
sqlite3 - 3.5.2 3.5.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
tuple - 2.0.2 2.0.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 - 6.4.0 6.4.0
win32_registry - 3.0.3 3.0.3
worker_bee - 0.3.14 0.3.14
xdg_directories - 1.1.0 1.1.0
xml - 7.0.1 7.0.1
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.13.2` on google_mlkit_face_detection does not support the stable version `0.14.0`.

Try running dart pub upgrade --major-versions google_mlkit_face_detection to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
0
likes
130
points
365
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter SDK for Face Liveness Verification, passive/active liveness UI.

Homepage

License

MIT (license)

Dependencies

amplify_auth_cognito, amplify_flutter, camera, face_liveness_detector, flutter, google_mlkit_face_detection, http, path_provider, uuid

More

Packages that depend on crokta_liveness

Packages that implement crokta_liveness