check_app_latest_version 0.3.1
check_app_latest_version: ^0.3.1 copied to clipboard
Check if your user has the most recent version of your Flutter app.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: check_app_latest_version, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: check_app_latest_version.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
14 out of 17 API elements (82.4 %) have documentation comments.
Some symbols that are missing documentation: check_app_latest_version, check_app_latest_version.CheckAppLatestVersion, check_app_latest_version.CheckAppLatestVersion.CheckAppLatestVersion.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_linux.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:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:check_app_latest_version/check_app_latest_version.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat imports:package:win32/src/com/iwinhttprequest.dartthat imports:package:win32/src/com/iunknown.dartthat imports:package:win32/src/utils.dartthat imports:package:win32/src/win32/user32.g.dartthat imports:package:win32/src/variant.dartthat imports:package:win32/src/win32/oleaut32.g.dartthat imports:package:win32/src/structs.g.dartthat imports:package:win32/src/guid.dartthat imports:package:win32/src/win32/ole32.g.dartthat imports:package:win32/src/combase.dartthat imports:package:win32/src/macros.dartthat imports:package:win32/src/inline.dartthat imports:package:win32/src/win32/uxtheme.g.dartthat imports:package:win32/src/callbacks.dartthat imports:package:win32/src/types.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/check_app_latest_version.dart:93:3
╷
93 │ showAlertIfNecessary({required BuildContext context}) async {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/check_app_latest_version.dart
INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre.
lib/check_app_latest_version.dart:272:16
╷
272 │ return WillPopScope(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/check_app_latest_version.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.1 |
1.19.1 | 1.19.1 | |
html |
^0.15.4 |
0.15.6 | 0.15.6 | |
http |
^1.1.0 |
1.5.0 | 1.5.0 | |
package_info_plus |
^4.1.0 |
4.2.0 | 9.0.0 | |
url_launcher |
^6.1.12 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.1.0` on package_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions package_info_plus 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.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.