check_app_latest_version 0.3.1 copy "check_app_latest_version: ^0.3.1" to clipboard
check_app_latest_version: ^0.3.1 copied to clipboard

Check if your user has the most recent version of your Flutter app.

120/ 160
pub points
26
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

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: check_app_latest_version,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: check_app_latest_version.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.dart that 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.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:check_app_latest_version/check_app_latest_version.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:check_app_latest_version/check_app_latest_version.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:check_app_latest_version/check_app_latest_version.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:check_app_latest_version/check_app_latest_version.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
1
likes
120
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

Check if your user has the most recent version of your Flutter app.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, flutter, html, http, package_info_plus, url_launcher

More

Packages that depend on check_app_latest_version