bootpay_web 5.0.12 copy "bootpay_web: ^5.0.12" to clipboard
bootpay_web: ^5.0.12 copied to clipboard

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

60/ 160
pub points
27
downloads

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

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: bootpay_web.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: bootpay_web,
    • contains a version property, and,
    • does not contain a publish_to property.

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_web... Discovering libraries... Linking elements... Precaching local docs for 1434530 elements... Initialized dartdoc with 1859 libraries Generating docs for library bootpay.dart from package:bootpay_web/bootpay.dart... Generating docs for library user_info.dart from package:bootpay_web/user_info.dart... Generating docs for library bootpay_hero_webview.dart from package:bootpay_web/bootpay_hero_webview.dart... Generating docs for library constant/bootpay_constant.dart from package:bootpay_web/constant/bootpay_constant.dart... Generating docs for library bootpay_widget_api.dart from package:bootpay_web/bootpay_widget_api.dart... [27 more lines] ERR: warning: bootpay_api has no library level documentation comments from bootpay_api: (file:///tmp/pana_VJHBYL/lib/shims/bootpay_web.dart:1:1) error: file already written at "bootpay_api/index.html" for symbol bootpay_api: (file:///tmp/pana_VJHBYL/lib/bootpay_api.dart:1:1) conflicting with file already generated by bootpay_api: (file:///tmp/pana_VJHBYL/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_web/api/api_provider.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

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

Because:

  • package:bootpay_web/api/api_provider.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_web/bootpay.dart that imports:
  • package:bootpay_web/model/payload.dart that imports:
  • package:bootpay_web/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_web/bootpay.dart that imports:
  • package:bootpay_web/model/payload.dart that imports:
  • package:bootpay_web/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_web/bootpay.dart that imports:
  • package:bootpay_web/model/payload.dart that imports:
  • package:bootpay_web/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 108 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.9.1 4.12.3 4.12.3
bootpay_webview_flutter_android ^4.3.2 4.10.56 4.10.56
bootpay_webview_flutter_wkwebview ^3.13.15 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.2.1 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 4 issues. Showing the first 2:

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.

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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:
1
likes
60
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

bootpay_webview_flutter, bootpay_webview_flutter_android, bootpay_webview_flutter_wkwebview, encrypt, flutter, fluttertoast, get, http, intl, js, package_info_plus, shared_preferences, uuid

More

Packages that depend on bootpay_web

Packages that implement bootpay_web