bootpay_bio 0.0.4
bootpay_bio: ^0.0.4 copied to clipboard
A Bootpay bio plugin that provides payment api on Android, iOS.
We analyzed this package 17 hours ago, and awarded it 115 pub points (of a possible 160):
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
41 out of 513 API elements (8.0 %) 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: api_provider, api_provider.ApiProvider, api_provider.ApiProvider.$configureLifeCycle, api_provider.ApiProvider.ApiProvider.new, api_provider.ApiProvider.allowAutoSignedCert.
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_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_app.dartthat imports:package:bootpay_bio/webview/bootpay_bio_webview.dartthat imports:package:bootpay_webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:bootpay_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_app.dartthat imports:package:bootpay_bio/webview/bootpay_bio_webview.dartthat imports:package:bootpay_webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:bootpay_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_app.dartthat imports:package:bootpay_bio/webview/bootpay_bio_webview.dartthat imports:package:bootpay_webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS.
Package not compatible with platform Web
Because:
package:bootpay_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_web.dartthat imports:package:bootpay_bio/bootpay_bio_api.dartthat imports:package:bootpay_bio/models/bio_payload.dartthat imports:package:bootpay/model/payload.dartthat imports:dart:io
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_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_app.dartthat imports:package:bootpay_bio/bio_container.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:bootpay_bio/bootpay_bio.dartthat imports:package:bootpay_bio/shims/bootpay_platform.dartthat imports:package:bootpay_bio/shims/bootpay_app.dartthat imports:package:bootpay_bio/bio_container.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 260 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: BioContainer.key, BioContainer.webView, BioContainer.payload, BioContainer.showCloseButton, BioContainer.closeButton, BioContainer.onCancel, BioContainer.onError, BioContainer.onClose, BioContainer.onCloseHardware, BioContainer.onReady, BioContainer.onConfirm, BioContainer.onDone
lib/bio_container.dart:35:7
╷
35 │ class BioContainer extends StatefulWidget {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/bio_container.dart
WARNING: Unused import: 'dart:io'.
lib/controller/bio_controller.dart:1:8
╷
1 │ import 'dart:io';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/controller/bio_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bootpay |
1.9.1 |
1.9.01 | 5.0.24 | |
bootpay_webview_flutter |
2.2.21 |
2.2.21 | 4.12.3 | |
carousel_slider |
^4.0.0 |
4.2.1 | 5.1.1 | |
fluttertoast |
^8.0.9 |
8.2.14 | 9.0.0 | |
get |
^4.6.1 |
4.7.3 | 4.7.3 | |
intl |
^0.17.0 |
0.17.0 | 0.20.2 | |
local_auth |
^1.1.11 |
1.1.11 | 3.0.0 | |
otp |
^3.0.2 |
3.1.4 | 3.2.0 | |
shared_preferences |
^2.0.13 |
2.5.4 | 2.5.4 | |
vibration |
^1.7.4-nullsafety.0 |
1.9.0 | 3.1.5 |
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 | |
base32 |
- | 2.2.0 | 2.2.0 | |
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 | |
device_info_plus |
- | 11.5.0 | 12.3.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
encrypt |
- | 5.0.3 | 5.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.33 | 2.0.33 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_info |
- | 2.0.2 | 2.0.2 | Discontinued |
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 | |
timezone |
- | 0.9.4 | 0.10.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 3.0.7 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vibration_platform_interface |
- | 0.0.3 | 0.1.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.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 7 issues. Showing the first 2:
The constraint `1.9.1` on bootpay does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions bootpay to update the constraint.
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.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.