uni_pay 4.0.1
uni_pay: ^4.0.1 copied to clipboard
A comprehensive library for seamless online payments, integrating Moyasar (Card & Apple pay), Tamara, and Tabby payment gateways.
We analyzed this package 14 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
182 out of 429 API elements (42.4 %) 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.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:uni_pay/uni_pay.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:uni_pay/uni_pay.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:uni_pay/uni_pay.dartthat 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.dartthat imports:package:uni_pay/src/modules/tabby/core/services/tabby_services.dartthat imports:package:uni_pay/src/modules/tabby/core/services/tabby_repo.dartthat imports:package:uni_pay/src/modules/tabby/core/models/tabby_dto.dartthat imports:package:uni_pay/src/core/keys/api_keys.dartthat imports:package:uni_pay/src/core/controllers/uni_pay_controller.dartthat imports:package:uni_pay/src/views/widgets/payment_result_view.dartthat imports:package:uni_pay/src/views/design_system.dartthat imports:package:uni_pay/src/utils/extension.dartthat imports:package:uni_pay/src/utils/uni_enums.dartthat imports:package:tabby_flutter_inapp_sdk/tabby_flutter_inapp_sdk.dartthat imports:package:tabby_flutter_inapp_sdk/src/internal/utils.dartthat imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dartthat declares support for platforms:iOS,macOS.
Package does not support platform `iOS`.
Because:
package:uni_pay/uni_pay.dartthat imports:package:uni_pay/src/modules/tabby/core/services/tabby_services.dartthat imports:package:uni_pay/src/modules/tabby/core/services/tabby_repo.dartthat imports:package:uni_pay/src/modules/tabby/core/models/tabby_dto.dartthat imports:package:uni_pay/src/core/keys/api_keys.dartthat imports:package:uni_pay/src/core/controllers/uni_pay_controller.dartthat imports:package:uni_pay/src/views/widgets/payment_result_view.dartthat imports:package:uni_pay/src/views/design_system.dartthat imports:package:uni_pay/src/utils/extension.dartthat imports:package:uni_pay/src/utils/uni_enums.dartthat imports:package:tabby_flutter_inapp_sdk/tabby_flutter_inapp_sdk.dartthat imports:package:tabby_flutter_inapp_sdk/src/internal/utils.dartthat imports:package:webview_flutter_android/webview_flutter_android.dartthat declares support for platforms:Android.
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.6.0 | 1.6.0 | |
lottie |
^3.1.2 |
3.3.2 | 3.3.2 | |
moyasar |
^2.1.0 |
2.1.3 | 2.1.3 | |
tabby_flutter_inapp_sdk |
^1.11.0 |
1.11.0 | 1.11.0 |
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.