phone_pe_pg 0.0.7 copy "phone_pe_pg: ^0.0.7" to clipboard
phone_pe_pg: ^0.0.7 copied to clipboard

A Flutter plugin for integrating PhonePe Payment Gateway in flutter, with support for Android and iOS (currently).

150/ 160
pub points
74
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 5/5 points: Provide a valid CHANGELOG.md

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

Detected license: BSD-3-Clause.

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

176 out of 194 API elements (90.7 %) have documentation comments.

Some symbols that are missing documentation: phone_pe_pg, phone_pe_pg.CardPaymentInstrument.cardDetails, phone_pe_pg.PayPagePaymentInstrument, phone_pe_pg.PayPagePaymentInstrument.PayPagePaymentInstrument.new, phone_pe_pg.PayPagePaymentInstrument.copyWith.

Passed check 10/10 points: Package has an example

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

Because:

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

Because:

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

Because:

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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:phone_pe_pg/phone_pe_pg.dart that imports:
  • package:phone_pe_pg/src/src.dart that imports:
  • package:phone_pe_pg/src/ui/phonepe_standard_checkout.dart that imports:
  • package:phone_pe_pg/src/providers/payment_provider.dart that imports:
  • package:phone_pe_pg/src/repository/payment_repository.dart that imports:
  • package:phone_pe_pg/src/models/payment_request_model.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/phone_pe_pg/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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

INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.

lib/src/ui/phonepe_standard_checkout.dart:80:11

   ╷
80 │           onPopInvoked: (invoked) async {
   │           ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/phonepe_standard_checkout.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.3 3.0.7 3.0.7
dio ^5.4.1 5.9.0 5.9.0
flutter_inappwebview ^6.0.0 6.1.5 6.1.5
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
provider ^6.1.1 6.1.5+1 6.1.5+1
url_launcher ^6.2.5 6.3.2 6.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.25 6.3.25
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
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.

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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
20
likes
150
points
74
downloads

Publisher

verified publisherhassanansari.dev

Weekly Downloads

A Flutter plugin for integrating PhonePe Payment Gateway in flutter, with support for Android and iOS (currently).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

crypto, dio, flutter, flutter_inappwebview, plugin_platform_interface, provider, url_launcher

More

Packages that depend on phone_pe_pg

Packages that implement phone_pe_pg