flutter_cccd_vn 2.0.2 copy "flutter_cccd_vn: ^2.0.2" to clipboard
flutter_cccd_vn: ^2.0.2 copied to clipboard

ICAO Doc 9303 MRTD (biometric passport) Dart library with a Vietnamese CCCD (căn cước công dân) NFC reading adapter — BAC/PACE, OCR-driven credentials, and a typed CCCD data/verification API.

120/ 160
pub points
--
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

171 out of 834 API elements (20.5 %) have documentation comments.

Some symbols that are missing documentation: cccd_vietnam, extensions, extensions.DateTimeYYMMDDFormatApi, extensions.DateTimeYYMMDDFormatApi.formatYYMMDD, extensions.IntApis.

Passed check 10/10 points: Package has 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:flutter_cccd_vn/cccd_vietnam.dart that imports:
  • package:flutter_cccd_vn/src/cccd/icao_cccd_protocol.dart that imports:
  • package:flutter_cccd_vn/src/passport.dart that imports:
  • package:flutter_cccd_vn/dmrtd.dart that imports:
  • package:flutter_cccd_vn/src/com/nfc_provider.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_cccd_vn/cccd_vietnam.dart that imports:
  • package:flutter_cccd_vn/src/cccd/icao_cccd_protocol.dart that imports:
  • package:flutter_cccd_vn/src/passport.dart that imports:
  • package:flutter_cccd_vn/dmrtd.dart that imports:
  • package:flutter_cccd_vn/src/com/nfc_provider.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_cccd_vn/cccd_vietnam.dart that imports:
  • package:flutter_cccd_vn/src/cccd/icao_cccd_protocol.dart that imports:
  • package:flutter_cccd_vn/src/passport.dart that imports:
  • package:flutter_cccd_vn/dmrtd.dart that imports:
  • package:flutter_cccd_vn/src/com/nfc_provider.dart that imports:
  • package:flutter_nfc_kit/flutter_nfc_kit.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:flutter_cccd_vn/cccd_vietnam.dart that imports:
  • package:flutter_cccd_vn/src/cccd/icao_cccd_protocol.dart that imports:
  • package:flutter_cccd_vn/src/passport.dart that imports:
  • package:flutter_cccd_vn/src/proto/mrtd_api.dart that imports:
  • package:flutter_cccd_vn/src/proto/pace.dart that imports:
  • package:flutter_cccd_vn/src/proto/dh_pace.dart that imports:
  • package:flutter_cccd_vn/src/crypto/diffie_hellman.dart that imports:
  • dart:io
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 152 issues. Showing the first 2:

INFO: The type name 'BLOCK_CIPHER_MODE' isn't an UpperCamelCase identifier.

lib/src/crypto/aes.dart:18:6

   ╷
18 │ enum BLOCK_CIPHER_MODE {
   │      ^^^^^^^^^^^^^^^^^
   ╵

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

INFO: The constant name 'ECB' isn't a lowerCamelCase identifier.

lib/src/crypto/aes.dart:19:3

   ╷
19 │   ECB,
   │   ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/crypto/aes.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
archive ^4.0.9 4.3.0 4.3.0
collection ^1.19.0 1.19.1 1.19.1
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.6 3.0.7 3.0.7
crypto_keys_plus ^0.4.0 0.4.0 1.0.0
diffie_hellman ^0.1.2 0.1.2 1.4.0
expandable ^5.0.1 5.0.1 5.0.1
fixnum ^1.1.1 1.1.1 1.1.1
flutter_nfc_kit ^3.6.0 3.6.2 3.6.2
logging ^1.3.0 1.3.0 1.3.0
meta ^1.15.0 1.19.0 1.19.0
pointycastle ^3.9.1 3.9.1 4.0.0
tripledes_nullsafety ^1.0.3 1.0.3 1.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
ffi - 2.2.0 2.2.0
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.12.0 4.12.0
material_color_utilities - 0.13.0 0.13.1
ndef - 0.4.0 0.4.0
path - 1.9.1 1.9.1
posix - 6.5.2 6.5.2
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
uuid - 4.6.0 4.6.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1

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.4.0` on crypto_keys_plus does not support the stable version `0.5.0`.

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

The constraint `^0.1.2` on diffie_hellman does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions diffie_hellman 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, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

ICAO Doc 9303 MRTD (biometric passport) Dart library with a Vietnamese CCCD (căn cước công dân) NFC reading adapter — BAC/PACE, OCR-driven credentials, and a typed CCCD data/verification API.

Repository (GitHub)
View/report issues

Topics

#nfc #passport #mrtd #icao #cccd

License

unknown (license)

Dependencies

archive, collection, convert, crypto, crypto_keys_plus, diffie_hellman, expandable, fixnum, flutter_nfc_kit, logging, meta, pointycastle, tripledes_nullsafety

More

Packages that depend on flutter_cccd_vn