cccd_vietnam 2.0.0 copy "cccd_vietnam: ^2.0.0" to clipboard
cccd_vietnam: ^2.0.0 copied to clipboard

Read and write data from ID card Viet Nam using NFC

125/ 160
pub points
79
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

Detected license: MIT.

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

166 out of 718 API elements (23.1 %) have documentation comments.

Some symbols that are missing documentation: dmrtd, dmrtd.AAPublicKey, dmrtd.AAPublicKey.rawSubjectPublicKey, dmrtd.AAPublicKey.toBytes, dmrtd.AAPublicKey.type.

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:cccd_vietnam/dmrtd.dart that imports:
  • package:cccd_vietnam/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:cccd_vietnam/dmrtd.dart that imports:
  • package:cccd_vietnam/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:cccd_vietnam/dmrtd.dart that imports:
  • package:cccd_vietnam/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:cccd_vietnam/dmrtd.dart that imports:
  • package:cccd_vietnam/src/passport.dart that imports:
  • package:cccd_vietnam/src/proto/mrtd_api.dart that imports:
  • package:cccd_vietnam/src/proto/pace.dart that imports:
  • package:cccd_vietnam/src/proto/dh_pace.dart that imports:
  • package:cccd_vietnam/src/crypto/diffie_hellman.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 103 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/src/extension/string_apis.dart:13:12

   ╷
13 │     return hex.decoder.convert(this) as Uint8List;
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: Unused import: 'dart:convert'.

lib/src/lds/df1/efdg2.dart:5:8

  ╷
5 │ import 'dart:convert';
  │        ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/lds/df1/efdg2.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 ^3.1.2 3.6.1 4.0.7
collection ^1.16.0 1.19.1 1.19.1
convert ^3.0.0 3.1.2 3.1.2
crypto ^3.0.1 3.0.7 3.0.7
crypto_keys_plus ^0.4.0 0.4.0 0.5.0
diffie_hellman ^0.1.2 0.1.2 1.4.0
expandable ^5.0.1 5.0.1 5.0.1
fixnum ^1.0.0 1.1.1 1.1.1
flutter_nfc_kit ^3.4.2 3.6.1 3.6.1
logging ^1.0.1 1.3.0 1.3.0
meta ^1.3.0 1.17.0 1.17.0
pointycastle ^3.7.4 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.0 1.4.1
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
ndef - 0.4.0 0.4.0
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0
universal_platform - 1.1.0 1.1.0
uuid - 4.5.2 4.5.2
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.

Found 4 issues. Showing the first 2:

The constraint `^3.1.2` on archive does not support the stable version `4.0.0`.

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

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.

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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
23
likes
125
points
79
downloads

Publisher

unverified uploader

Weekly Downloads

Read and write data from ID card Viet Nam using NFC

Repository (GitHub)
View/report issues

License

(pending) (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 cccd_vietnam