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

Drive an Amwal POS terminal from Flutter. One Dart API over the native Android and iOS ECR SDKs: sale, void, refund, inquiry and e-receipt, with typed outcomes that keep an unknown result apart from a refusal.

130/ 160
pub points
208
downloads

We analyzed this package 5 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

314 out of 391 API elements (80.3 %) have documentation comments.

Some symbols that are missing documentation: amwal_ecr.EcrEnvironment.fromWireName, amwal_ecr.EcrOpenedSession.EcrOpenedSession.new, amwal_ecr.EcrOpenedSession.supportsReceipt, amwal_ecr.EcrOpenedSession.terminal, amwal_ecr.EcrOpenedSession.usesLocalTerminal.

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

Because:

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

Because:

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

Because:

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

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 9 issues. Showing the first 2:

INFO: Missing documentation for a public member.

lib/src/ecr_opened_session.dart:12:3

   ╷
12 │   EcrOpenedSession(this.terminal);
   │   ^^^^^^^^^^^^^^^^
   ╵

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

INFO: Missing documentation for a public member.

lib/src/ecr_opened_session.dart:14:21

   ╷
14 │   final EcrTerminal terminal;
   │                     ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ecr_opened_session.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
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
vector_math - 2.4.2 2.4.2

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.0, Dart 3.13.0.

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 the native Android and iOS ECR SDKs: 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

flutter, plugin_platform_interface

More

Packages that depend on amwal_ecr

Packages that implement amwal_ecr