sorty_kyc_capture 0.1.0 copy "sorty_kyc_capture: ^0.1.0" to clipboard
sorty_kyc_capture: ^0.1.0 copied to clipboard

Flutter KYC package with document scanning, real-time liveness selfie detection via ML Kit, and automatic JPEG compression under 800 KB.

130/ 160
pub points
13
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

20 out of 37 API elements (54.1 %) have documentation comments.

Some symbols that are missing documentation: sorty_kyc_capture.CameraPermissionGate.CameraPermissionGate.new, sorty_kyc_capture.CameraPermissionGate.child, sorty_kyc_capture.CameraPermissionGate.onDenied, sorty_kyc_capture.IdCaptureScreen.IdCaptureScreen.new, sorty_kyc_capture.ImageCompressException.

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:sorty_kyc_capture/sorty_kyc_capture.dart that imports:
  • package:sorty_kyc_capture/src/utils/image_compressor.dart that imports:
  • package:flutter_image_compress/flutter_image_compress.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:sorty_kyc_capture/sorty_kyc_capture.dart that imports:
  • package:sorty_kyc_capture/src/utils/permission_manager.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `macOS`.

Because:

  • package:sorty_kyc_capture/sorty_kyc_capture.dart that imports:
  • package:sorty_kyc_capture/src/utils/permission_manager.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows, Web.
Package does not support platform `Web`.

Because:

  • package:sorty_kyc_capture/sorty_kyc_capture.dart that imports:
  • package:sorty_kyc_capture/src/utils/image_compressor.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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

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

lib/src/screens/selfie_capture_screen.dart:208:36

    ╷
208 │         _canCapture == canCapture) return;
    │                                    ^^^^^^^
    ╵

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

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/screens/selfie_capture_screen.dart:336:53

    ╷
336 │                           color: Colors.greenAccent.withOpacity(0.5),
    │                                                     ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/screens/selfie_capture_screen.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
camera ^0.11.0+2 0.11.4 0.12.1
flutter_image_compress ^2.3.0 2.5.1 2.5.1
google_mlkit_face_detection ^0.11.0 0.11.1 0.15.1
path ^1.9.0 1.9.1 1.9.1
path_provider ^2.1.3 2.1.6 2.1.6
permission_handler ^11.3.1 11.4.0 13.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
camera_android_camerax - 0.6.30 0.7.5+1
camera_avfoundation - 0.9.23+2 0.11.0
camera_platform_interface - 2.14.0 2.14.0
camera_web - 0.3.5+6 0.3.5+6
characters - 1.4.1 1.4.1
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.4.0
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
flutter_image_compress_common - 1.1.1 1.1.1
flutter_image_compress_macos - 1.1.0 1.1.0
flutter_image_compress_ohos - 0.0.3+1 0.0.3+1
flutter_image_compress_platform_interface - 1.1.0 1.1.0
flutter_image_compress_web - 0.1.5+1 0.1.5+1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
google_mlkit_commons - 0.8.1 0.13.0
hooks - 2.2.0 2.2.0
jni - 1.1.0 1.1.0
jni_flutter - 1.0.4+1 1.0.4+1
jni_util - 1.0.0 1.0.0
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.2 9.6.2
package_config - 3.0.0 3.0.0
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
permission_handler_android - 12.1.0 14.1.0
permission_handler_apple - 9.6.2 9.6.2
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.1 4.4.1
permission_handler_windows - 0.2.2 0.2.2
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
source_span - 1.10.2 1.10.2
stream_transform - 2.1.2 2.1.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.3 2.4.3
web - 1.1.1 1.1.1
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 `^0.11.0+2` on camera does not support the stable version `0.12.0`.

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

The constraint `^0.11.0` on google_mlkit_face_detection does not support the stable version `0.12.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.6, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
13
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter KYC package with document scanning, real-time liveness selfie detection via ML Kit, and automatic JPEG compression under 800 KB.

Repository (GitHub)
View/report issues

Topics

#kyc #camera #face-detection #identity-verification #liveness

License

MIT (license)

Dependencies

camera, flutter, flutter_image_compress, google_mlkit_face_detection, path, path_provider, permission_handler

More

Packages that depend on sorty_kyc_capture