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

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

26
likes
120/ 160
pub points
86%
popularity

We analyzed this package 3 days ago, and awarded it 120 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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting bootpay... Discovering libraries... Linking elements... Precaching local docs for 1320989 elements... Initialized dartdoc with 1733 libraries Generating docs for library widget/bootpay_widget.dart from package:bootpay/widget/bootpay_widget.dart... Generating docs for library shims/bootpay_app_page.dart from package:bootpay/shims/bootpay_app_page.dart... Generating docs for library shims/bootpay_app.dart from package:bootpay/shims/bootpay_app.dart... Generating docs for library shims/bootpay_web.dart from package:bootpay/shims/bootpay_web.dart... Generating docs for library shims/bootpay_platform.dart from package:bootpay/shims/bootpay_platform.dart... [27 more lines] ERR: warning: deprecated dartdoc usage: The '--nodoc' option is deprecated, and will soon be removed. from package-bootpay: file:///tmp/pana_CJVWRX warning: bootpay_api has no library level documentation comments from bootpay_api: (file:///tmp/pana_CJVWRX/lib/shims/bootpay_web.dart:3:9) error: file already written at "bootpay_api/bootpay_api-library.html" for symbol bootpay_api: (file:///tmp/pana_CJVWRX/lib/bootpay_api.dart:1:1) conflicting with file already generated by bootpay_api: (file:///tmp/pana_CJVWRX/lib/shims/bootpay_web.dart:3:9) 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 [13 more lines]

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

  • ✓ 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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/bootpay/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 121 issues. Showing the first 2:

WARNING: The method doesn't override an inherited method.

lib/bootpay.dart:40:10

   ╷
40 │   String applicationId(String webApplicationId, String androidApplicationId, String iosApplicationId) {
   │          ^^^^^^^^^^^^^
   ╵

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

WARNING: Unused import: 'package:bootpay_webview_flutter_wkwebview/bootpay_webview_flutter_wkwebview.dart'.

lib/bootpay_hero_webview.dart:11:8

   ╷
11 │ import 'package:bootpay_webview_flutter_wkwebview/bootpay_webview_flutter_wkwebview.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bootpay_webview_flutter 4.3.2 4.3.2 4.3.2
bootpay_webview_flutter_android 3.7.3 3.7.3 3.7.3
bootpay_webview_flutter_wkwebview 3.4.2 3.4.2 3.4.2
encrypt 5.0.3 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
fluttertoast 8.2.5 8.2.5 8.2.8
get 4.6.6 4.6.6 4.6.6
http 1.2.1 1.2.1 1.2.2
intl 0.19.0 0.19.0 0.20.0
js 0.7.1 0.7.1 0.7.1
package_info_plus 8.0.0 8.0.0 8.1.1
shared_preferences 2.2.3 2.2.3 2.3.3
uuid 4.4.0 4.4.0 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
bootpay_webview_flutter_platform_interface - 2.3.0 2.10.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus_platform_interface - 3.0.1 3.0.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 3.9.1
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
win32 - 5.8.0 5.8.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 6 issues. Showing the first 2:

The constraint `8.2.5` on fluttertoast does not support the stable version `8.2.6`.

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

The constraint `1.2.1` on http does not support the stable version `1.2.2`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.