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.

100/ 160
pub points
12
downloads

We analyzed this package 16 days ago, and awarded it 100 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.

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: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.
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: Don't invoke 'print' in production code.

lib/razorpay.dart:14:5

   ╷
14 │     print('PaymentBridgeGatewayRazorpay constructor');
   │     ^^^^^
   ╵

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

INFO: Missing type annotation.

lib/razorpay_web.dart:65:3

   ╷
65 │   open(Map<String, dynamic> options) {
   │   ^^^^
   ╵

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

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.8
razorpay_flutter ^1.2.7 1.4.0 1.4.0
universal_html ^2.0.8 2.3.0 2.3.0
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.1
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
connectivity_plus - 3.0.6 7.0.0
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.14 9.0.0
html - 0.15.6 0.15.6
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.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 - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences - 2.5.4 2.5.4
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
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.3.1 2.3.1
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
100
points
12
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