openiothub_common_pages 1.0.5+83
openiothub_common_pages: ^1.0.5+83 copied to clipboard
openiothub_common_pages
We analyzed this package 11 hours ago, and awarded it 90 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
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.
10/10 points: 20% or more of the public API has dartdoc comments
993 out of 1082 API elements (91.8 %) have documentation comments.
Some symbols that are missing documentation: GatewayQrPage
, GatewayQrPage.GatewayQrPage
, GatewayQrPage.GatewayQrPage.GatewayQrPage.new
, LoginPage
, LoginPage.LoginPage
.
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:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/utils/goToUrl.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/utils/goToUrl.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `macOS`.
Because:
package:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/wifiConfig/airkiss.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:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/utils/goToUrl.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,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:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/wifiConfig/airkiss.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/wifiConfig/airkiss.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:openiothub_common_pages/openiothub_common_pages.dart
that imports:package:openiothub_common_pages/utils/goToUrl.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 98 issues. Showing the first 2:
WARNING: Unused import: 'package:oktoast/oktoast.dart'.
lib/commPages/appInfo.dart:4:8
╷
4 │ import 'package:oktoast/oktoast.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/commPages/appInfo.dart
WARNING: Duplicate import.
lib/commPages/appInfo.dart:13:8
╷
13 │ import 'package:openiothub_common_pages/openiothub_common_pages.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/commPages/appInfo.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
airkiss_dart |
^1.0.0 |
1.0.0+5 | 1.0.0+5 | |
bonsoir |
^5.1.11 |
5.1.11 | 5.1.11 | |
dio |
^5.5.0+1 |
5.8.0+1 | 5.8.0+1 | |
image |
^4.0.9 |
4.5.4 | 4.5.4 | |
intl |
>=0.19.0 <=1.0.0 |
0.20.2 | 0.20.2 | |
network_info_plus |
^6.1.1 |
6.1.4 | 6.1.4 | |
oktoast |
^3.3.2+1 |
3.4.0 | 3.4.0 | |
openiothub_api |
^1.0.2+1 |
1.0.5+10 | 1.0.5+10 | |
openiothub_constants |
^1.0.0 |
1.0.2+3 | 1.0.2+3 | |
openiothub_grpc_api |
^1.0.2+1 |
1.1.8+2 | 1.1.8+2 | |
openiothub_plugin |
^1.0.2 |
1.0.2+62 | 1.0.2+62 | |
package_info_plus |
^8.0.0 |
8.3.0 | 8.3.0 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
qr_flutter |
^4.1.0 |
4.1.0 | 4.1.0 | |
shared_preferences |
^2.1.1 |
2.5.3 | 2.5.3 | |
sign_in_with_apple |
^7.0.1 |
7.0.1 | 7.0.1 | |
tdesign_flutter |
^0.2.0 |
0.2.2 | 0.2.2 | |
url_launcher |
^6.1.11 |
6.3.1 | 6.3.1 | |
webview_flutter |
^4.8.0 |
4.13.0 | 4.13.0 | |
wechat_kit |
^6.0.1 |
6.0.2 | 6.0.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 23 errors:
URI_HAS_NOT_BEEN_GENERATED
-lib/commPages/findGatewayGoList.dart:11:8
- Target of URI hasn't been generated: 'package:openiothub_grpc_api/google/protobuf/wrappers.pb.dart'.URI_DOES_NOT_EXIST
-lib/commPages/findGatewayGoList.dart:18:8
- Target of URI doesn't exist: 'package:openiothub_plugin/utils/portConfig2portService.dart'.UNDEFINED_METHOD
-lib/commPages/findGatewayGoList.dart:241:25
- The method 'portService2PortServiceInfo' isn't defined for the type '_FindGatewayGoListPageState'.
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.