bootpay 1.9.1 bootpay: ^1.9.1 copied to clipboard
A Bootpay plugin that provides payment api on Android, iOS and Web.
We analyzed this package 2 days ago, and awarded it 95 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting bootpay...
Discovering libraries...
Linking elements...
Precaching local docs for 631263 elements...
Initialized dartdoc with 1109 libraries
Generating docs for library bootpay.dart from package:bootpay/bootpay.dart...
Generating docs for library bootpay_api.dart from package:bootpay/bootpay_api.dart...
Generating docs for library bootpay_webview.dart from package:bootpay/bootpay_webview.dart...
Generating docs for library model/onestore.dart from package:bootpay/model/onestore.dart...
Generating docs for library model/user.dart from package:bootpay/model/user.dart...
[13 more lines]
ERR:
warning: bootpay_api has no library level documentation comments
from bootpay_api: (file:///tmp/pana_IXMSQU/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_IXMSQU/lib/shims/bootpay_web.dart:3:9)
conflicting with file already generated by bootpay_api: (file:///tmp/pana_IXMSQU/lib/bootpay_api.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
[11 more lines]
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:bootpay/bootpay.dart
that imports:package:bootpay/shims/bootpay_platform.dart
that imports:package:bootpay/shims/bootpay_app.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:bootpay/bootpay.dart
that imports:package:bootpay/shims/bootpay_platform.dart
that imports:package:bootpay/shims/bootpay_app.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:bootpay/bootpay.dart
that imports:package:bootpay/shims/bootpay_platform.dart
that imports:package:bootpay/shims/bootpay_app.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
,Web
.
Package not compatible with platform Web
Because:
package:bootpay/bootpay.dart
that imports:package:bootpay/model/payload.dart
that imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 58 issues. Showing the first 2:
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: BootpayWebView.onShowHeader, BootpayWebView.showCloseButton, BootpayWebView.closeButton
lib/bootpay_webview.dart:14:7
╷
14 │ class BootpayWebView extends WebView {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bootpay_webview.dart
WARNING: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'.
lib/bootpay_webview.dart:306:5
╷
306 │ setState(() {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bootpay_webview.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
bootpay_webview_flutter |
2.2.21 |
2.2.21 | 4.3.2 |
encrypt |
^5.0.1 |
5.0.3 | 5.0.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
fluttertoast |
^8.0.8 |
8.2.5 | 8.2.5 |
http |
^0.13.4 |
0.13.6 | 1.2.1 |
js |
^0.6.3 |
0.6.7 | 0.7.1 |
package_info |
^2.0.2 |
2.0.2 | 2.0.2 |
shared_preferences |
^2.0.8 |
2.2.3 | 2.2.3 |
uuid |
^3.0.5 |
3.0.7 | 4.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.5.0 | 2.5.0 |
asn1lib |
- | 1.5.2 | 1.5.2 |
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.15.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.2.1 | 2.2.1 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
pointycastle |
- | 3.9.1 | 3.9.1 |
shared_preferences_android |
- | 2.2.2 | 2.2.2 |
shared_preferences_foundation |
- | 2.4.0 | 2.4.0 |
shared_preferences_linux |
- | 2.3.2 | 2.3.2 |
shared_preferences_platform_interface |
- | 2.3.2 | 2.3.2 |
shared_preferences_web |
- | 2.3.0 | 2.3.0 |
shared_preferences_windows |
- | 2.3.2 | 2.3.2 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `2.2.21` on bootpay_webview_flutter does not support the stable version `2.3.0`.
Try running dart pub upgrade --major-versions bootpay_webview_flutter
to update the constraint.
The constraint `^0.13.4` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.