b24_payment_sdk 1.0.15 b24_payment_sdk: ^1.0.15 copied to clipboard
Package payment SDK for merchant.
We analyzed this package 17 hours ago, and awarded it 90 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
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: b24_payment_sdk
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Could not find any pubspec.yaml
in the repository.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
3 out of 204 API elements (1.5 %) 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.
Some symbols that are missing documentation: api_checkout_detail
, api_checkout_detail.Message
, api_checkout_detail.MessageKh
, api_checkout_detail.errorCode
, api_checkout_detail.fetchDataFromApi
.
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:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/widgets/_show_bottom_sheet.dart
that imports:package:b24_payment_sdk/src/widgets/khqr_payment.dart
that imports:package:b24_payment_sdk/logic/socket_server_manager.dart
that imports:package:b24_payment_sdk/src/widgets/success_screen.dart
that imports:package:b24_payment_sdk/src/helpers/share_image_success.dart
that imports:package:b24_payment_sdk/src/helpers/save_image_success.dart
that imports:package:image_gallery_saver/image_gallery_saver.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/widgets/_show_bottom_sheet.dart
that imports:package:b24_payment_sdk/src/widgets/khqr_payment.dart
that imports:package:b24_payment_sdk/logic/socket_server_manager.dart
that imports:package:b24_payment_sdk/src/widgets/success_screen.dart
that imports:package:b24_payment_sdk/src/helpers/share_image_success.dart
that imports:package:b24_payment_sdk/src/helpers/save_image_success.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `macOS`.
Because:
package:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/widgets/_show_bottom_sheet.dart
that imports:package:b24_payment_sdk/src/widgets/khqr_payment.dart
that imports:package:b24_payment_sdk/logic/socket_server_manager.dart
that imports:package:b24_payment_sdk/src/widgets/success_screen.dart
that imports:package:b24_payment_sdk/src/helpers/share_image_success.dart
that imports:package:b24_payment_sdk/src/helpers/save_image_success.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
,Web
.
Package does not support platform `Web`.
Because:
package:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/widgets/_show_bottom_sheet.dart
that imports:package:b24_payment_sdk/src/widgets/khqr_payment.dart
that imports:package:b24_payment_sdk/logic/socket_server_manager.dart
that imports:package:b24_payment_sdk/src/widgets/success_screen.dart
that imports:package:b24_payment_sdk/src/helpers/share_image_success.dart
that imports:package:b24_payment_sdk/src/helpers/save_image_success.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
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:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/payment_page/payment_method.dart
that imports:package:b24_payment_sdk/request_api/api_generate_link.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:b24_payment_sdk/b24_payment_sdk.dart
that imports:package:b24_payment_sdk/src/main.dart
that imports:package:b24_payment_sdk/src/payment_page/payment_method.dart
that imports:package:b24_payment_sdk/request_api/api_generate_link.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_android/webview_surface_android.dart
that declares support for platforms:Android
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 78 issues. Showing the first 2:
WARNING: The '!' will have no effect because the receiver can't be null.
lib/logic/socket_server_manager.dart:89:31
╷
89 │ final tranIds = cachedData!.data.transInfo.tranNo;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/logic/socket_server_manager.dart
WARNING: The value of the local variable 'anchor' isn't used.
lib/src/helpers/save_image.dart:56:13
╷
56 │ final anchor = html.AnchorElement(href: url)
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/helpers/save_image.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity_plus |
^5.0.2 |
5.0.2 | 6.0.3 |
dotted_decoration |
^2.0.0 |
2.0.0 | 2.0.0 |
esys_flutter_share_plus |
^2.2.0 |
2.2.0 | 2.2.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
go_router |
^13.2.4 |
13.2.5 | 14.0.2 |
google_fonts |
^4.0.4 |
4.0.5 | 6.2.1 |
http |
^1.1.0 |
1.2.1 | 1.2.1 |
image_gallery_saver |
^2.0.3 |
2.0.3 | 2.0.3 |
intl |
^0.19.0 |
0.19.0 | 0.19.0 |
material_symbols_icons |
^4.2671.0 |
4.2719.3 | 4.2719.3 |
path_provider |
^2.1.1 |
2.1.3 | 2.1.3 |
permission_handler |
^11.3.1 |
11.3.1 | 11.3.1 |
provider |
^6.1.2 |
6.1.2 | 6.1.2 |
shared_preferences |
^2.0.10 |
2.2.3 | 2.2.3 |
socket_io_client |
^2.0.3+1 |
2.0.3+1 | 2.0.3+1 |
sticky_headers |
^0.3.0+2 |
0.3.0+2 | 0.3.0+2 |
universal_html |
^2.2.4 |
2.2.4 | 2.2.4 |
universal_platform |
^1.0.0+1 |
1.0.0+1 | 1.0.0+1 |
url_launcher |
^6.1.14 |
6.2.6 | 6.2.6 |
webview_flutter |
^3.0.0 |
3.0.4 | 4.7.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
charcode |
- | 1.3.1 | 1.3.1 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.0 |
crypto |
- | 3.0.3 | 3.0.3 |
csslib |
- | 1.0.0 | 1.0.0 |
dbus |
- | 0.7.10 | 0.7.10 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
html |
- | 0.15.4 | 0.15.4 |
http_parser |
- | 4.0.2 | 4.0.2 |
js |
- | 0.6.7 | 0.7.1 |
logging |
- | 1.2.0 | 1.2.0 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.14.0 |
nested |
- | 1.0.0 | 1.0.0 |
nm |
- | 0.5.0 | 0.5.0 |
path |
- | 1.9.0 | 1.9.0 |
path_provider_android |
- | 2.2.4 | 2.2.4 |
path_provider_foundation |
- | 2.3.2 | 2.3.2 |
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 |
permission_handler_android |
- | 12.0.6 | 12.0.6 |
permission_handler_apple |
- | 9.4.4 | 9.4.4 |
permission_handler_html |
- | 0.1.1 | 0.1.1 |
permission_handler_platform_interface |
- | 4.2.1 | 4.2.1 |
permission_handler_windows |
- | 0.2.1 | 0.2.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.4 | 3.1.4 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
shared_preferences_android |
- | 2.2.2 | 2.2.2 |
shared_preferences_foundation |
- | 2.3.5 | 2.3.5 |
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 |
socket_io_common |
- | 2.0.3 | 2.0.3 |
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 |
universal_io |
- | 2.2.2 | 2.2.2 |
url_launcher_android |
- | 6.3.1 | 6.3.1 |
url_launcher_ios |
- | 6.2.5 | 6.2.5 |
url_launcher_linux |
- | 3.1.1 | 3.1.1 |
url_launcher_macos |
- | 3.1.0 | 3.1.0 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.1 | 2.3.1 |
url_launcher_windows |
- | 3.1.1 | 3.1.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
webview_flutter_android |
- | 2.10.4 | 3.16.1 |
webview_flutter_platform_interface |
- | 1.9.5 | 2.10.0 |
webview_flutter_wkwebview |
- | 2.9.5 | 3.13.0 |
win32 |
- | 5.5.0 | 5.5.0 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
xml |
- | 6.5.0 | 6.5.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 `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^13.2.4` on go_router does not support the stable version `14.0.0`, that was published 8 days ago.
When go_router is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions go_router
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.