Skip to main content

libyan_payments_for_mypay 1.0.4 copy "libyan_payments_for_mypay: ^1.0.4" to clipboard
libyan_payments_for_mypay: ^1.0.4 copied to clipboard

Libyan Payments for MyPay — native in-app Flutter checkout (OTP, Masrafi/Yasr/Sahara Pay, banking card). Session credentials only; never embed client secrets.

120/ 160
pub points
1.04k
downloads

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

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

19 out of 170 API elements (11.2 %) 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: libyan_payments_for_mypay, libyan_payments_for_mypay.MyPayApiException, libyan_payments_for_mypay.MyPayApiException.MyPayApiException.new, libyan_payments_for_mypay.MyPayApiException.code, libyan_payments_for_mypay.MyPayApiException.errors.

Passed check 10/10 points: Package has an example and has no issues with screenshots

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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:libyan_payments_for_mypay/libyan_payments_for_mypay.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:libyan_payments_for_mypay/libyan_payments_for_mypay.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:libyan_payments_for_mypay/libyan_payments_for_mypay.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:libyan_payments_for_mypay/libyan_payments_for_mypay.dart that declares support for platforms: Android, iOS.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/libyan_payments_for_mypay/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/client/mypay_checkout_client.dart:1:1

  ╷
1 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/mypay_checkout_client.dart

INFO: Use the null-aware marker '?' rather than a null check via an 'if'.

lib/src/client/mypay_checkout_client.dart:71:7

   ╷
71 │       if (mobile != null) 'mobile': mobile,
   │       ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/client/mypay_checkout_client.dart

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

Failed check 0/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.2 1.6.0 1.6.0
pin_code_fields ^8.0.1 8.0.1 10.1.2
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
url_launcher ^6.3.1 6.3.3 6.3.3
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
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.3.0 1.3.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
http_parser - 4.1.2 4.1.2
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
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
url_launcher_android - 6.3.35 6.3.35
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2

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

The constraint `^8.0.1` on pin_code_fields does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions pin_code_fields to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.50.1, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
120
points
1.04k
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publishermypay.ly

Weekly Downloads

Libyan Payments for MyPay — native in-app Flutter checkout (OTP, Masrafi/Yasr/Sahara Pay, banking card). Session credentials only; never embed client secrets.

Homepage

Topics

#payment #mypay #libya #checkout #flutter

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, http, pin_code_fields, plugin_platform_interface, url_launcher

More

Packages that depend on libyan_payments_for_mypay

Packages that implement libyan_payments_for_mypay