uni_pay 3.0.3 copy "uni_pay: ^3.0.3" to clipboard
uni_pay: ^3.0.3 copied to clipboard

A comprehensive library for seamless online payments, integrating Moyasar (Card & Apple pay), Tamara, and Tabby payment gateways.

90/ 160
pub points
40
downloads

We analyzed this package 32 hours ago, and awarded it 90 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

176 out of 422 API elements (41.7 %) 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.

Passed check 10/10 points: Package has 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: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/tabby_flutter_inapp_sdk.dart that imports:
  • package:tabby_flutter_inapp_sdk/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/tabby_flutter_inapp_sdk.dart that imports:
  • package:tabby_flutter_inapp_sdk/src/internal/utils.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: The named parameter 'saveCard' is required, but there's no corresponding argument.

lib/src/core/keys/api_keys.dart:37:17

   ╷
37 │       applePay: ApplePayConfig(
   │                 ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/keys/api_keys.dart

ERROR: The implicitly invoked unnamed constructor from 'TabbySession' has required parameters.

lib/src/modules/tabby/core/models/tabby_session.dart:4:3

  ╷
4 │   TabbySessionData({
  │   ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/modules/tabby/core/models/tabby_session.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.0.13 2.1.3 2.1.3
tabby_flutter_inapp_sdk ^1.4.0 1.11.0 1.11.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
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
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
ffi - 2.1.5 2.1.5
file_selector_linux - 0.9.4 0.9.4
file_selector_macos - 0.9.5 0.9.5
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+5 0.9.3+5
fixnum - 1.1.1 1.1.1
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
http_parser - 4.1.2 4.1.2
image - 4.7.2 4.7.2
image_picker - 1.2.1 1.2.1
image_picker_android - 0.8.13+10 0.8.13+10
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+3 0.8.13+3
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
intl - 0.20.2 0.20.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
pay - 3.3.0 3.3.0
pay_android - 3.2.0 3.2.0
pay_ios - 1.1.0 1.1.0
pay_platform_interface - 2.0.0 2.0.0
permission_handler - 11.4.0 12.0.1
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter - 4.13.1 4.13.1
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
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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 3 errors:

  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/modules/tabby/core/models/tabby_session.dart:8:11 - No associated named super constructor parameter.
  • UNDEFINED_IDENTIFIER - lib/src/modules/tabby/core/models/tabby_session.dart:8:20 - Undefined name 'SessionStatus'.
  • UNDEFINED_IDENTIFIER - lib/src/modules/tabby/core/services/tabby_services.dart:137:17 - Undefined name 'SessionStatus'.

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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
10
likes
90
points
40
downloads

Publisher

verified publisherunicodesolutions.co

Weekly Downloads

A comprehensive library for seamless online payments, integrating Moyasar (Card & Apple pay), Tamara, and Tabby payment gateways.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, flutter_localizations, http, lottie, moyasar, tabby_flutter_inapp_sdk

More

Packages that depend on uni_pay