moyasar 2.2.0 copy "moyasar: ^2.2.0" to clipboard
moyasar: ^2.2.0 copied to clipboard

PlatformiOS

Accept payments in your Flutter app with ease by using Moyasar. With this SDK, you can quickly and safely accept payments through Apple Pay and Credit Card (with managed 3DS step).

140/ 160
pub points
2.27k
downloads

We analyzed this package 2 days ago, and awarded it 140 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

63 out of 247 API elements (25.5 %) have documentation comments.

Some symbols that are missing documentation: moyasar.ApiError.ApiError.new, moyasar.ApiError.message, moyasar.ApplePay.ApplePay.new, moyasar.ApplePay.buttonStyle, moyasar.ApplePay.buttonType.

Passed check 10/10 points: Package has an example

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

Partially passed check 10/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:moyasar/moyasar.dart that declares support for platforms: iOS.
Package does not support platform `Windows`.

Because:

  • package:moyasar/moyasar.dart that declares support for platforms: iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:moyasar/moyasar.dart that declares support for platforms: iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `iOS`.

Because:

  • package:moyasar/moyasar.dart that imports:
  • package:moyasar/src/widgets/apple_pay.dart that imports:
  • package:pay/pay.dart that imports:
  • package:pay_android/pay_android.dart that declares support for platforms: Android.

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

It does not contain ios/moyasar/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.

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 4 issues. Showing the first 2:

INFO: The import of 'package:moyasar/src/models/payment_split.dart' is unnecessary because all of the used elements are also provided by the import of 'package:moyasar/moyasar.dart'.

lib/src/models/payment_response.dart:3:8

  ╷
3 │ import 'package:moyasar/src/models/payment_split.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Missing type annotation.

lib/src/moyasar.dart:108:41

    ╷
108 │ Map<String, String> buildRequestHeaders(apiKey) {
    │                                         ^^^^^^
    ╵

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

Passed report section
Support up-to-date dependencies
40 / 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
http ^1.4.0 1.6.0 1.6.0
pay ^3.2.1 3.3.0 3.3.0
webview_flutter ^4.13.0 4.13.1 4.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
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
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.2.0 2.2.0
web - 1.1.1 1.1.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.7 3.23.7
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

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.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
45
likes
140
points
2.27k
downloads

Publisher

verified publishermoyasar.com

Weekly Downloads

Accept payments in your Flutter app with ease by using Moyasar. With this SDK, you can quickly and safely accept payments through Apple Pay and Credit Card (with managed 3DS step).

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, pay, webview_flutter

More

Packages that depend on moyasar

Packages that implement moyasar