in_app_payment 0.0.2 copy "in_app_payment: ^0.0.2" to clipboard
in_app_payment: ^0.0.2 copied to clipboard

In app payment package for the stage 6 task of the HNGx Internship. This package would enable flutter developers make payments through google pay and apple pay in their application.

3
likes
120/ 140
pub points
57%
popularity

We analyzed this package 4 days ago, and awarded it 120 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

3 out of 10 API elements (30.0 %) have documentation comments.

Some symbols that are missing documentation: in_app_payment, pay_buttons, pay_buttons.HNGPay, pay_buttons.HNGPay.HNGPay, payment_config.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that imports:
  • package:pay_ios/pay_ios.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:in_app_payment/in_app_payment.dart that imports:
  • package:in_app_payment/buttons/pay_buttons.dart that imports:
  • package:pay/pay.dart that imports:
  • package:pay_android/pay_android.dart that declares support for platforms: Android.
OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.1 1.2.1
pay ^1.1.2 1.1.2 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
flutter_localizations - 0.0.0 0.0.0
flutter_svg - 2.0.10+1 2.0.10+1
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
pay_android - 1.0.11 2.0.0
pay_ios - 1.0.11 1.0.11
pay_platform_interface - 1.0.4 1.0.4
petitparser - 6.0.2 6.0.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

The constraint `^1.1.2` on pay does not support the stable version `2.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

3
likes
120
pub points
57%
popularity

Publisher

unverified uploader

In app payment package for the stage 6 task of the HNGx Internship. This package would enable flutter developers make payments through google pay and apple pay in their application.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, http, pay

More

Packages that depend on in_app_payment