xpresspayments_gateway 0.0.9
xpresspayments_gateway: ^0.0.9 copied to clipboard
This is a plugin for easy integration of Xpresspayments payment gateway with your flutter application.
We analyzed this package 25 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://bitbucket.org/xpresspayments/paymentgatewayflutter.git was unreachable. Make sure that the website is reachable via HEAD requests.
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.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 32 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: xpresspayments_gateway, xpresspayments_gateway.InitialisePayment, xpresspayments_gateway.InitialisePayment.InitialisePayment.new, xpresspayments_gateway.InitialisePayment.amount, xpresspayments_gateway.InitialisePayment.applyConvenienceCharge.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/webview_screen.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/shared/shared.dartthat imports:package:xpresspayments_gateway/src/ui/shared/timer_count.dartthat imports:package:xpresspayments_gateway/src/ui/transfer/controller/transfer_controller.dartthat imports:package:xpresspayments_gateway/src/ui/card/card_payment_controller.dartthat imports:package:xpresspayments_gateway/src/utils/device_info.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/webview_screen.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
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:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/shared/shared.dartthat imports:package:xpresspayments_gateway/src/ui/shared/timer_count.dartthat imports:package:xpresspayments_gateway/src/ui/transfer/controller/transfer_controller.dartthat imports:package:xpresspayments_gateway/src/ui/card/card_payment_controller.dartthat imports:package:xpresspayments_gateway/src/utils/device_info.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/shared/shared.dartthat imports:package:xpresspayments_gateway/src/ui/shared/timer_count.dartthat imports:package:xpresspayments_gateway/src/ui/transfer/controller/transfer_controller.dartthat imports:package:xpresspayments_gateway/src/ui/card/card_payment_controller.dartthat imports:package:xpresspayments_gateway/src/utils/device_info.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:xpresspayments_gateway/xpresspayments_gateway.dartthat imports:package:xpresspayments_gateway/src/api/api.dartthat imports:package:xpresspayments_gateway/src/api/xpay.dartthat imports:package:xpresspayments_gateway/src/ui/payment_type_screen.dartthat imports:package:xpresspayments_gateway/src/ui/shared/shared.dartthat imports:package:xpresspayments_gateway/src/ui/shared/timer_count.dartthat imports:package:xpresspayments_gateway/src/ui/transfer/controller/transfer_controller.dartthat imports:package:xpresspayments_gateway/src/ui/card/card_payment_controller.dartthat imports:package:xpresspayments_gateway/src/utils/device_info.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 183 issues. Showing the first 2:
WARNING: The declaration '_setTransaction' isn't referenced.
lib/src/api/xpay.dart:99:3
╷
99 │ _setTransaction(Transaction transaction) {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/api/xpay.dart
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.12.0 <4.0.0' don't guarantee it.
lib/src/data/mappers.dart:90:38
╷
90 │ cardBrand: paymentCard.type!.name,
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/mappers.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
device_info_plus |
^11.3.2 |
11.5.0 | 12.3.0 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
flutter_svg |
^1.0.3 |
1.1.6 | 2.2.3 | |
get |
^4.6.5 |
4.7.3 | 4.7.3 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
pinput |
^5.0.1 |
5.0.2 | 6.0.1 | |
pretty_dio_logger |
^1.1.1 |
1.2.0-beta-1 | 1.4.0 | |
signalr_netcore |
^1.4.0 |
1.4.4 | 1.4.4 | |
webview_flutter |
^4.10.0 |
4.13.0 | 4.13.0 | |
win32 |
^5.11.0 |
5.15.0 | 5.15.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
message_pack_dart |
- | 2.0.1 | 2.0.1 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pool |
- | 1.5.2 | 1.5.2 | |
shelf |
- | 1.4.2 | 1.4.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sse |
- | 4.1.8 | 4.1.8 | |
sse_channel |
- | 0.1.1 | 0.2.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
webview_flutter_android |
- | 4.10.11 | 4.10.11 | |
webview_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
webview_flutter_wkwebview |
- | 3.23.5 | 3.23.5 | |
win32_registry |
- | 2.1.0 | 2.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 5 issues. Showing the first 2:
The constraint `^11.3.2` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.