Skip to main content

openpay2 2.0.6 copy "openpay2: ^2.0.6" to clipboard
openpay2: ^2.0.6 copied to clipboard

This is a package that uses the Openpay iOS and Openpay Android libraries to tokenize payments through the Openpay Platform.

130/ 160
pub points
186
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://openpay.mx was unreachable. Make sure that the website is reachable via HEAD requests.

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

68 out of 84 API elements (81.0 %) have documentation comments.

Some symbols that are missing documentation: openpay2, openpay2.Address.Address.new, openpay2.CardInformation.CardInformation.new, openpay2.OpenpayApi.OpenpayApi.new, openpay2.OpenpayError.OpenpayError.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

Because:

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

Because:

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

Because:

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

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/openpay2/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. 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: Unnecessary 'this.' qualifier.

lib/src/api.dart:35:54

   ╷
35 │   String get baseUrl => isSandboxMode ? _sandboxUrls[this.country]! : _productionUrls[this.country]!;
   │                                                      ^^^^
   ╵

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

INFO: Unnecessary 'this.' qualifier.

lib/src/api.dart:35:87

   ╷
35 │   String get baseUrl => isSandboxMode ? _sandboxUrls[this.country]! : _productionUrls[this.country]!;
   │                                                                                       ^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api.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
http ^1.4.0 1.6.0 1.6.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.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.4 2.4.4
web - 1.1.2 1.1.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.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

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

Documentation

API reference

Publisher

verified publisheribercore.mx

Weekly Downloads

This is a package that uses the Openpay iOS and Openpay Android libraries to tokenize payments through the Openpay Platform.

Homepage

License

MIT (license)

Dependencies

flutter, http, plugin_platform_interface

More

Packages that depend on openpay2

Packages that implement openpay2