uni_pay 5.0.0
uni_pay: ^5.0.0 copied to clipboard
A comprehensive library for seamless online payments, integrating Moyasar (Card & Apple pay), Tamara, and Tabby payment gateways.
We analyzed this package 2 days ago, and awarded it 150 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
185 out of 434 API elements (42.6 %) have documentation comments.
Some symbols that are missing documentation: uni_pay.ConsumerModel
, uni_pay.ConsumerModel.ConsumerModel.fromJson
, uni_pay.ConsumerModel.ConsumerModel.new
, uni_pay.ConsumerModel.email
, uni_pay.ConsumerModel.firstName
.
10/10 points: Package has an example
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:uni_pay/uni_pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:uni_pay/uni_pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:uni_pay/uni_pay.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:uni_pay/uni_pay.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:uni_pay/uni_pay.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_services.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_repo.dart
that imports:package:uni_pay/src/modules/tabby/core/models/tabby_dto.dart
that imports:package:uni_pay/src/core/keys/api_keys.dart
that imports:package:uni_pay/src/core/controllers/uni_pay_controller.dart
that imports:package:uni_pay/src/views/widgets/payment_result_view.dart
that imports:package:uni_pay/src/views/design_system.dart
that imports:package:uni_pay/src/utils/extension.dart
that imports:package:uni_pay/src/utils/uni_enums.dart
that imports:package:tabby_flutter_inapp_sdk_fork/tabby_flutter_inapp_sdk_fork.dart
that imports:package:tabby_flutter_inapp_sdk_fork/src/internal/utils.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:uni_pay/uni_pay.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_services.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_repo.dart
that imports:package:uni_pay/src/modules/tabby/core/models/tabby_dto.dart
that imports:package:uni_pay/src/core/keys/api_keys.dart
that imports:package:uni_pay/src/core/controllers/uni_pay_controller.dart
that imports:package:uni_pay/src/views/widgets/payment_result_view.dart
that imports:package:uni_pay/src/views/design_system.dart
that imports:package:uni_pay/src/utils/extension.dart
that imports:package:uni_pay/src/utils/uni_enums.dart
that imports:package:tabby_flutter_inapp_sdk_fork/tabby_flutter_inapp_sdk_fork.dart
that imports:package:tabby_flutter_inapp_sdk_fork/src/internal/utils.dart
that imports:package:webview_flutter_android/webview_flutter_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:uni_pay/uni_pay.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_services.dart
that imports:package:uni_pay/src/modules/tabby/core/services/tabby_repo.dart
that imports:package:uni_pay/src/modules/tabby/core/models/tabby_dto.dart
that imports:package:uni_pay/src/core/keys/api_keys.dart
that imports:package:uni_pay/src/core/controllers/uni_pay_controller.dart
that imports:package:uni_pay/src/views/widgets/payment_result_view.dart
that imports:package:uni_pay/src/views/design_system.dart
that imports:package:uni_pay/src/utils/extension.dart
that imports:package:uni_pay/src/utils/uni_enums.dart
that imports:package:tabby_flutter_inapp_sdk_fork/tabby_flutter_inapp_sdk_fork.dart
that imports:package:tabby_flutter_inapp_sdk_fork/src/internal/utils.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that imports:package:webview_flutter_wkwebview/src/webkit_webview_platform.dart
that imports:package:webview_flutter_wkwebview/src/webkit_webview_cookie_manager.dart
that imports:package:webview_flutter_wkwebview/src/webkit_proxy.dart
that imports:package:webview_flutter_wkwebview/src/common/web_kit.g.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/constant/uni_text.dart:85:21
╷
85 │ static String sar(amount) => isEnglish ? " SAR $amount " : " $amount ر.س ";
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/constant/uni_text.dart
INFO: Missing type annotation.
lib/src/core/services/uni_pay_services.dart:15:10
╷
15 │ static initUniPay(
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/services/uni_pay_services.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
http |
^1.2.0 |
1.5.0 | 1.5.0 | |
lottie |
^3.1.2 |
3.3.2 | 3.3.2 | |
moyasar |
^2.1.0 |
2.1.1 | 2.1.1 | |
tabby_flutter_inapp_sdk_fork |
^1.11.1 |
1.11.1 | 1.11.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.22.23
, Flutter 3.35.4
, Dart 3.9.2
.
Check the analysis log for details.