bootpay 4.9.98 copy "bootpay: ^4.9.98" to clipboard
bootpay: ^4.9.98 copied to clipboard

A Bootpay plugin that provides payment api on Android, iOS and Web.

70/ 160
pub points
883
downloads

We analyzed this package 17 hours ago, and awarded it 70 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: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting bootpay... Discovering libraries... Linking elements... Precaching local docs for 1435127 elements... Initialized dartdoc with 1860 libraries Generating docs for library bootpay.dart from package:bootpay/bootpay.dart... Generating docs for library user_info.dart from package:bootpay/user_info.dart... Generating docs for library bootpay_hero_webview.dart from package:bootpay/bootpay_hero_webview.dart... Generating docs for library constant/bootpay_constant.dart from package:bootpay/constant/bootpay_constant.dart... Generating docs for library bootpay_widget_api.dart from package:bootpay/bootpay_widget_api.dart... [27 more lines] ERR: warning: bootpay_api has no library level documentation comments from bootpay_api: (file:///tmp/pana_CPOBCH/lib/shims/bootpay_web.dart:1:1) error: file already written at "bootpay_api/index.html" for symbol bootpay_api: (file:///tmp/pana_CPOBCH/lib/bootpay_api.dart:1:1) conflicting with file already generated by bootpay_api: (file:///tmp/pana_CPOBCH/lib/shims/bootpay_web.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'bootpay_api' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one symbol's [16 more lines]

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

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:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.dart that imports:
  • dart:io
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 110 issues. Showing the first 2:

ERROR: The method 'allowInterop' isn't defined for the type 'BootpayPlatform'.

lib/shims/bootpay_web.dart:74:21

   ╷
74 │     _BootpayClose = allowInterop(onClose);
   │                     ^^^^^^^^^^^^
   ╵

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

ERROR: The method 'allowInterop' isn't defined for the type 'BootpayPlatform'.

lib/shims/bootpay_web.dart:75:22

   ╷
75 │     _BootpayCancel = allowInterop(onCancel);
   │                      ^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
bootpay_webview_flutter ^4.8.1 4.8.2 4.12.3
bootpay_webview_flutter_android ^3.17.1 3.17.1 4.10.56
bootpay_webview_flutter_wkwebview ^3.13.14 3.23.26 3.23.26
encrypt ^5.0.3 5.0.3 5.0.3
fluttertoast ^8.2.8 8.2.14 9.0.0
get ^4.6.6 4.7.3 4.7.3
http ^1.3.0 1.6.0 1.6.0
intl ^0.19.0 0.19.0 0.20.2
js ^0.7.1 0.7.2 0.7.2 Discontinued
package_info_plus ^8.1.2 8.3.1 9.0.0
shared_preferences ^2.3.5 2.5.4 2.5.4
uuid ^4.5.1 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.0 2.13.0
bootpay_webview_flutter_platform_interface - 2.14.2 2.14.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
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
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `^3.17.1` on bootpay_webview_flutter_android does not support the stable version `4.3.2`.

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

The constraint `^8.2.8` on fluttertoast does not support the stable version `9.0.0`.

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

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

  • UNDEFINED_METHOD - lib/shims/bootpay_web.dart:74:21 - The method 'allowInterop' isn't defined for the type 'BootpayPlatform'.
  • UNDEFINED_METHOD - lib/shims/bootpay_web.dart:75:22 - The method 'allowInterop' isn't defined for the type 'BootpayPlatform'.
  • UNDEFINED_METHOD - lib/shims/bootpay_web.dart:76:20 - The method 'allowInterop' isn't defined for the type 'BootpayPlatform'.

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: