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 3 days 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
, 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.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/webview/bootpay_bio_webview.dart
that imports:package:bootpay_webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:bootpay_bio/bootpay_bio.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/webview/bootpay_bio_webview.dart
that imports:package:bootpay_webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:bootpay_bio/bootpay_bio.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/webview/bootpay_bio_webview.dart
that imports:package:bootpay_webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package not compatible with platform Web
Because:
package:bootpay_bio/bootpay_bio.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_web.dart
that imports:package:bootpay_bio/bootpay_bio_api.dart
that imports:package:bootpay_bio/models/bio_payload.dart
that imports:package:bootpay/model/payload.dart
that 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.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/bio_container.dart
that imports:package:vibration/vibration.dart
that imports:package:vibration_platform_interface/vibration_platform_interface.dart
that imports:package:vibration_platform_interface/src/method_channel_vibration.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:bootpay_bio/bootpay_bio.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/bio_container.dart
that imports:package:vibration/vibration.dart
that imports:package:vibration_platform_interface/vibration_platform_interface.dart
that imports:package:vibration_platform_interface/src/method_channel_vibration.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32_registry/win32_registry.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:bootpay_bio/bootpay_bio.dart
that imports:package:bootpay_bio/shims/bootpay_platform.dart
that imports:package:bootpay_bio/shims/bootpay_app.dart
that imports:package:bootpay_bio/bootpay_bio_api.dart
that imports:package:bootpay_bio/models/bio_payload.dart
that imports:package:bootpay/model/payload.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 88 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 |
---|---|---|---|
bootpay |
1.9.1 |
1.9.01 | 4.9.94 |
bootpay_webview_flutter |
2.2.21 |
2.2.21 | 4.3.2 |
carousel_slider |
^4.0.0 |
4.2.1 | 5.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
fluttertoast |
^8.0.9 |
8.2.10 | 8.2.10 |
get |
^4.6.1 |
4.6.6 | 4.6.6 |
intl |
^0.17.0 |
0.17.0 | 0.20.1 |
local_auth |
^1.1.11 |
1.1.11 | 2.3.0 |
otp |
^3.0.2 |
3.1.4 | 3.1.4 |
shared_preferences |
^2.0.13 |
2.3.4 | 2.3.4 |
vibration |
^1.7.4-nullsafety.0 |
1.9.0 | 2.0.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 |
base32 |
- | 2.1.3 | 2.1.3 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
device_info_plus |
- | 11.2.0 | 11.2.0 |
device_info_plus_platform_interface |
- | 7.0.2 | 7.0.2 |
encrypt |
- | 5.0.3 | 5.0.3 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_plugin_android_lifecycle |
- | 2.0.24 | 2.0.24 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
js |
- | 0.6.7 | 0.7.1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
package_info |
- | 2.0.2 | 2.0.2 |
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.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
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.0 | 0.0.0 |
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.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 3.0.7 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
vibration_platform_interface |
- | 0.0.2 | 0.0.2 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.0 |
win32_registry |
- | 1.1.5 | 2.0.1 |
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 `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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.