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

PlatformAndroidiOS
outdated

All-in-one payment gateway implementation of Razorpay, Paytm etc.

4
likes
110/ 160
pub points
44
downloads

We analyzed this package 23 hours ago, and awarded it 110 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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

0 out of 46 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: main, main.PaymentOptions, main.PaymentOptions.PaymentOptions.new, main.PaymentOptions.amount, main.PaymentOptions.description.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:payment_bridge/payment_bridge.dart that imports:
  • package:payment_bridge/razorpay.dart that imports:
  • package:razorpay_flutter/razorpay_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:payment_bridge/payment_bridge.dart that imports:
  • package:payment_bridge/razorpay.dart that imports:
  • package:razorpay_flutter/razorpay_flutter.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:payment_bridge/payment_bridge.dart that imports:
  • package:payment_bridge/razorpay.dart that imports:
  • package:nb_utils/nb_utils.dart that imports:
  • package:nb_utils/src/utils/network_utils.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:payment_bridge/payment_bridge.dart that imports:
  • package:payment_bridge/razorpay.dart that imports:
  • package:nb_utils/nb_utils.dart that imports:
  • package:nb_utils/src/utils/network_utils.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:payment_bridge/payment_bridge.dart that imports:
  • package:payment_bridge/razorpay.dart that imports:
  • package:payment_bridge/razorpay_web.dart that imports:
  • package:universal_html/html.dart that imports:
  • package:universal_html/src/_sdk/html.dart that imports:
  • package:universal_html/src/_sdk_html_additions.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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
js ^0.6.3 0.6.7 0.7.2 Discontinued
nb_utils ^4.4.10 4.6.25 7.1.4
razorpay_flutter ^1.2.7 1.4.0 1.4.0
universal_html ^2.0.8 2.2.4 2.2.4
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
connectivity_plus - 3.0.6 6.1.4
connectivity_plus_platform_interface - 1.2.4 2.0.1
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
eventify - 1.0.1 1.0.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fluttertoast - 8.2.12 8.2.12
html - 0.15.5+1 0.15.5+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.5.3 2.5.3
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.6.3` on js does not support the stable version `0.7.0`.

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

The constraint `^4.4.10` on nb_utils does not support the stable version `5.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_IDENTIFIER - lib/razorpay.dart:36:22 - Undefined name 'isIOS'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
110
points
44
downloads

Publisher

verified publisherensorta.com

Weekly Downloads

All-in-one payment gateway implementation of Razorpay, Paytm etc.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, js, nb_utils, razorpay_flutter, universal_html

More

Packages that depend on payment_bridge