amwal_ecr 0.3.1 copy "amwal_ecr: ^0.3.1" to clipboard
amwal_ecr: ^0.3.1 copied to clipboard

Drive an Amwal POS terminal from Flutter. One Dart API over native Android and iOS ECR SDKs (Wi‑Fi, USB, Web Service, and Android app-to-app), plus a pure-Dart Windows host (LAN TCP + Web Service): sa [...]

130/ 160
pub points
208
downloads

We analyzed this package 4 days ago, and awarded it 130 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

397 out of 474 API elements (83.8 %) have documentation comments.

Some symbols that are missing documentation: amwal_ecr.EcrEnvironment.fromWireName, amwal_ecr.EcrOpenedSession.EcrOpenedSession.new, amwal_ecr.EcrOpenedSession.terminal, amwal_ecr.EcrOpenedSession.usesWebService, amwal_ecr_platform_interface.EcrArgs.all.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:amwal_ecr/amwal_ecr.dart that declares support for platforms: Android, iOS, 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 10 issues. Showing the first 2:

INFO: Use 'const' with the constructor to improve performance.

lib/src/dart_io/dart_io_amwal_ecr_platform.dart:211:9

    ╷
211 │ ┌         EcrSignOnFailed(
212 │ │           merchantReference: '',
213 │ │           failure: EcrUnsupported(
214 │ │             'Sign-on is not available over ',
215 │ │           ),
216 │ │         ),
    │ └─────────^
    ╵

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

INFO: Use 'const' with the constructor to improve performance.

lib/src/dart_io/dart_io_amwal_ecr_platform.dart:213:20

    ╷
213 │             failure: EcrUnsupported(
    │ ┌────────────────────^
214 │ │             'Sign-on is not available over ',
215 │ │           ),
    │ └───────────^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.7 3.0.7 3.0.7
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
typed_data - 1.4.0 1.4.0
vector_math - 2.4.3 2.4.3

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

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.4, Dart 3.13.3.

Check the analysis log for details.

Weekly downloads

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

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Drive an Amwal POS terminal from Flutter. One Dart API over native Android and iOS ECR SDKs (Wi‑Fi, USB, Web Service, and Android app-to-app), plus a pure-Dart Windows host (LAN TCP + Web Service): sale, void, refund, inquiry and e-receipt, with typed outcomes that keep an unknown result apart from a refusal.

Repository (GitHub)
View/report issues
Contributing

Topics

#payments #pos #ecr #terminal

License

unknown (license)

Dependencies

crypto, flutter, plugin_platform_interface

More

Packages that depend on amwal_ecr

Packages that implement amwal_ecr