tr_payment_hub 3.2.0
tr_payment_hub: ^3.2.0 copied to clipboard
Turkish payment gateway integration (iyzico, PayTR, Param, Sipay). Supports proxy mode (Flutter + any backend) and direct mode (Dart backend).
We analyzed this package 13 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
867 out of 921 API elements (94.1 %) have documentation comments.
Some symbols that are missing documentation: tr_payment_hub.IyzicoConfig.IyzicoConfig.new, tr_payment_hub.MetricNames.circuitClosed, tr_payment_hub.MetricNames.circuitOpened, tr_payment_hub.MetricNames.circuitRejected, tr_payment_hub.MetricNames.installmentQuery.
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:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:tr_payment_hub/tr_payment_hub.dartthat imports:package:tr_payment_hub/src/widgets/widgets.dartthat imports:package:tr_payment_hub/src/widgets/payment_webview.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 156 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/core/network/resilient_network_client.dart:302:9
╷
302 │ return _circuitBreaker!.execute(() async {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/network/resilient_network_client.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/core/network/resilient_network_client.dart:323:9
╷
323 │ return _retryHandler!.execute(
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/network/resilient_network_client.dart
0/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 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
meta |
^1.11.0 |
1.19.0 | 1.19.0 | |
webview_flutter |
^4.4.0 |
4.14.1 | 4.14.1 | |
xml |
^6.5.0 |
6.6.1 | 7.0.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.14.0 | 4.14.0 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.26.0 | 3.26.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.5.0` on xml does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions xml 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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.