mobile_pos 0.9.0 mobile_pos: ^0.9.0 copied to clipboard
A Flutter plugin for Raven Bank's Mobile POS (BankBox) device.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
19 out of 101 API elements (18.8 %) 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: mobile_pos
, mobile_pos.RavenBankBoxPlugin
, mobile_pos.RavenBankBoxPlugin.RavenBankBoxPlugin
, mobile_pos.RavenBankBoxPlugin.close
, mobile_pos.RavenBankBoxPlugin.launch
.
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:mobile_pos/mobile_pos.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:mobile_pos/mobile_pos.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:mobile_pos/mobile_pos.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:mobile_pos/mobile_pos.dart
that declares support for platforms:Android
,iOS
.
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:mobile_pos/mobile_pos.dart
that imports:package:mobile_pos/mobile_pos_platform_interface.dart
that imports:package:mobile_pos/mobile_pos_method_channel.dart
that imports:package:mobile_pos/src/views/home/raven_pay_app.dart
that imports:package:mobile_pos/src/views/request_pos/view_all_terminal_index.dart
that imports:package:mobile_pos/src/views/request_pos/widget/new_terminal_item.dart
that imports:package:mobile_pos/src/views/request_pos/terminal_info_screen.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:mobile_pos/mobile_pos.dart
that imports:package:mobile_pos/mobile_pos_platform_interface.dart
that imports:package:mobile_pos/mobile_pos_method_channel.dart
that imports:package:mobile_pos/src/views/home/raven_pay_app.dart
that imports:package:mobile_pos/src/views/request_pos/view_all_terminal_index.dart
that imports:package:mobile_pos/src/views/request_pos/widget/new_terminal_item.dart
that imports:package:mobile_pos/src/views/request_pos/terminal_info_screen.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_windows.dart
that imports:package:url_launcher_windows/url_launcher_windows.dart
that declares support for platforms:Windows
.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: Empty catch block.
lib/src/network/api_requests.dart:233:21
╷
233 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/network/api_requests.dart
INFO: 'disconnectDevice' is deprecated and shouldn't be used. Use disconnectBluetoothDevice().... disconnectDevice() will be removed in feature release.
lib/src/views/card_payment/card_pin.dart:65:36
╷
65 │ MobilePosPlatform.instance.disconnectDevice();
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/views/card_payment/card_pin.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_aes_ecb_pkcs5 |
^0.1.3 |
0.1.3 | 0.1.3 |
gap |
^3.0.1 |
3.0.1 | 3.0.1 |
http |
^1.1.0 |
1.2.1 | 1.2.1 |
intl |
^0.18.1 |
0.18.1 | 0.19.0 |
pinput |
^2.2.31 |
2.3.0 | 5.0.0 |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
pretty_qr_code |
^2.0.3 |
2.0.3 | 3.3.0 |
ripple_wave |
^0.1.3 |
0.1.4 | 0.1.4 |
share_plus |
^7.2.1 |
7.2.2 | 9.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
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.19.0 |
cross_file |
- | 0.3.4+1 | 0.3.4+1 |
crypto |
- | 3.0.3 | 3.0.3 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http_parser |
- | 4.0.2 | 4.1.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
mime |
- | 1.0.5 | 1.0.5 |
path |
- | 1.9.0 | 1.9.0 |
path_provider |
- | 2.1.3 | 2.1.3 |
path_provider_android |
- | 2.2.6 | 2.2.6 |
path_provider_foundation |
- | 2.4.0 | 2.4.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.5 | 3.1.5 |
qr |
- | 3.0.1 | 3.0.1 |
share_plus_platform_interface |
- | 3.4.0 | 4.0.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
smart_auth |
- | 1.1.1 | 2.0.0 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.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_platform |
- | 1.1.0 | 1.1.0 |
url_launcher_linux |
- | 3.1.1 | 3.1.1 |
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 |
uuid |
- | 4.4.0 | 4.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
win32 |
- | 5.5.1 | 5.5.1 |
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 `^0.18.1` on intl does not support the stable version `0.19.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
The constraint `^2.2.31` on pinput does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions pinput
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.7
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.