paypal_webview 0.0.6 copy "paypal_webview: ^0.0.6" to clipboard
paypal_webview: ^0.0.6 copied to clipboard

Optimize your Flutter app's payment journey using the PayPal Flutter Package v2. Effortlessly incorporate the latest PayPal APIs for secure transactions, with the added flexibility to test using sandb [...]

100/ 160
pub points
8
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/MussadaqAhmad/paypal_webview.git was unreachable. Make sure that the website is reachable via HEAD requests.

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

1 out of 29 API elements (3.4 %) 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: md_paypal, md_paypal.MDPayPal, md_paypal.MDPayPal.MDPayPal.new, md_paypal.MDPayPal.payerID, md_paypal.MDPayPal.paymentId.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:paypal_webview/paypal_webview.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:paypal_webview/paypal_webview.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:paypal_webview/paypal_webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:paypal_webview/paypal_webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:paypal_webview/paypal_webview.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
Package does not support platform `Web`.

Because:

  • package:paypal_webview/paypal_webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
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 6 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/paypal_webview.dart:89:38

   ╷
89 │             color: Color(0xff000000).withOpacity(.4),
   │                                      ^^^^^^^^^^^
   ╵

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

INFO: Missing type annotation.

lib/paypal_webview.dart:102:3

    ╷
102 │   getAccessToken() async {
    │   ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/paypal_webview.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
dio ^5.4.3+1 5.9.1 5.9.1
lottie ^3.1.0 3.3.2 3.3.2
webview_flutter ^4.7.0 4.9.0 4.13.1
webview_flutter_android ^3.13.1 3.16.9 4.10.11
webview_flutter_wkwebview ^3.10.0 3.23.5 3.23.5
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
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.5 2.1.5
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.14.0 2.14.0

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

The constraint `^3.13.1` on webview_flutter_android does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions webview_flutter_android 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.8, Flutter 3.38.8, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
100
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

Optimize your Flutter app's payment journey using the PayPal Flutter Package v2. Effortlessly incorporate the latest PayPal APIs for secure transactions, with the added flexibility to test using sandbox accounts and seamlessly transition to live credentials for production environments.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, lottie, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on paypal_webview