toss_payment 0.2.7 copy "toss_payment: ^0.2.7" to clipboard
toss_payment: ^0.2.7 copied to clipboard

Toss Payment Flutter Plugin This plugin provides a payments method using toss in ios and android app.

15
likes
130/ 160
pub points
58%
popularity

We analyzed this package 7 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

10 out of 13 API elements (76.9 %) have documentation comments.

Some symbols that are missing documentation: payment_webview, uri_extension, uri_extension.UriExtension.androidIntentUrlOrigin.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:toss_payment/toss_payment.dart that imports:
  • package:toss_payment/feature/payments/webview/payment_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:toss_payment/toss_payment.dart that imports:
  • package:toss_payment/feature/payments/webview/payment_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:toss_payment/toss_payment.dart that imports:
  • package:toss_payment/feature/payments/webview/payment_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:toss_payment/toss_payment.dart that imports:
  • package:toss_payment/feature/payments/webview/payment_webview.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Dangling library doc comment.

lib/toss_payment.dart:1:1

  ╷
1 │ /// Toss Payments 를 사용해 앱내 결제를 할 수 있는 flutter 라이브러리입니다.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
url_launcher ^6.0.20 6.3.1 6.3.1
webview_flutter ^4.0.7 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 4.1.0 4.1.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • URI_DOES_NOT_EXIST - lib/feature/payments/webview/payment_webview.dart:5:8 - Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.
  • UNDEFINED_METHOD - lib/feature/payments/webview/payment_webview.dart:88:13 - The method 'launchUrlString' isn't defined for the type '_PaymentWebViewState'.

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.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

15
likes
130
pub points
58%
popularity

Publisher

unverified uploader

Toss Payment Flutter Plugin This plugin provides a payments method using toss in ios and android app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, url_launcher, webview_flutter

More

Packages that depend on toss_payment