shorebird_update_checker 0.0.8
shorebird_update_checker: ^0.0.8 copied to clipboard
A Flutter package to check for updates and prompt users to update the app.
We analyzed this package 6 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
10/10 points: Use an OSI-approved license
Detected license: BSL-1.0.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 35 API elements (2.9 %) 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: shorebird_update_checker, shorebird_update_checker.AppStoreUpdateChecker, shorebird_update_checker.AppStoreUpdateChecker.AppStoreUpdateChecker.new, shorebird_update_checker.AppStoreUpdateChecker.checkForUpdates, shorebird_update_checker.AppStoreUpdateChecker.upgrader.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:store_redirect/store_redirect.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/update_checker_strategies.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/app_store_update_checker.dartthat imports:package:upgrader/upgrader.dartthat imports:package:upgrader/src/upgrader.dartthat imports:package:upgrader/src/upgrade_store_controller.dartthat imports:package:upgrader/src/upgrade_state.dartthat imports:package:upgrader/src/upgrade_device.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/update_checker_strategies.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/app_store_update_checker.dartthat imports:package:upgrader/upgrader.dartthat imports:package:upgrader/src/upgrader.dartthat imports:package:upgrader/src/upgrade_store_controller.dartthat imports:package:upgrader/src/upgrade_state.dartthat imports:package:upgrader/src/upgrade_device.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:store_redirect/store_redirect.dartthat 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:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/update_checker_strategies.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/app_store_update_checker.dartthat imports:package:upgrader/upgrader.dartthat imports:package:upgrader/src/upgrader.dartthat imports:package:upgrader/src/upgrade_store_controller.dartthat imports:package:upgrader/src/upgrade_state.dartthat imports:package:upgrader/src/upgrade_device.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/update_checker_strategies.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/app_store_update_checker.dartthat imports:package:upgrader/upgrader.dartthat imports:package:upgrader/src/upgrader.dartthat imports:package:upgrader/src/upgrade_store_controller.dartthat imports:package:upgrader/src/upgrade_state.dartthat imports:package:upgrader/src/upgrade_device.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:shorebird_update_checker/shorebird_update_checker.dartthat imports:package:shorebird_update_checker/src/widgets/widgets.dartthat imports:package:shorebird_update_checker/src/widgets/check_for_updates_widget.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/update_checker_strategies.dartthat imports:package:shorebird_update_checker/src/update_checker_strategies/shorebird_update_checker.dartthat imports:package:shorebird_code_push/shorebird_code_push.dartthat imports:package:shorebird_code_push/src/shorebird_code_push_io.dartthat imports:package:shorebird_code_push/src/updater.dartthat imports:package:shorebird_code_push/src/generated/updater_bindings.g.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
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/widgets/check_for_updates_widget.dart:116:3
╷
116 │ _buildUpdate(List<Widget> children) => [
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/check_for_updates_widget.dart
INFO: Missing type annotation.
lib/src/widgets/check_for_updates_widget.dart:161:3
╷
161 │ _buildForAppStore() => _buildUpdate([
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/check_for_updates_widget.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
restart_app |
^1.3.2 |
1.3.2 | 1.3.2 | |
shared_preferences |
^2.3.2 |
2.5.3 | 2.5.3 | |
shorebird_code_push |
^1.1.6 |
1.1.6 | 2.0.5 | |
store_redirect |
^2.0.3 |
2.0.4 | 2.0.4 | |
upgrader |
^11.3.0 |
11.5.1 | 12.1.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
device_info_plus |
- | 12.2.0 | 12.2.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
html |
- | 0.15.6 | 0.15.6 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
os_detect |
- | 2.0.3 | 2.0.3 | |
package_info_plus |
- | 9.0.0 | 9.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.5 | 2.5.5 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
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 |
- | 6.3.2 | 6.3.2 | |
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 | |
version |
- | 3.0.2 | 3.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.6` on shorebird_code_push does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions shorebird_code_push to update the constraint.
The constraint `^11.3.0` on upgrader does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions upgrader 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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.