app_version_update 4.0.2 copy "app_version_update: ^4.0.2" to clipboard
app_version_update: ^4.0.2 copied to clipboard

An easy and quick way to check if the local app is updated with the same version in their respective stores (Play Store / Apple Store ).

113
likes
120/ 160
pub points
97%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

20 out of 70 API elements (28.6 %) have documentation comments.

Some symbols that are missing documentation: alert_dialog_update, alert_dialog_update.UpdateVersionDialog.appVersionResult, alert_dialog_update.UpdateVersionDialog.backgroundColor, alert_dialog_update.UpdateVersionDialog.cancelButtonStyle, alert_dialog_update.UpdateVersionDialog.cancelButtonText.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:app_version_update/app_version_update.dart that imports:
  • package:app_version_update/core/functions/fetch_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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/app_version_update.dart:91:28

   ╷
91 │           backgroundColor: MaterialStatePropertyAll(Colors.redAccent)),
   │                            ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/app_version_update.dart

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/app_version_update.dart:93:28

   ╷
93 │           backgroundColor: MaterialStatePropertyAll(Colors.green)),
   │                            ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/app_version_update.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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
http any 1.2.2 1.2.2
package_info_plus ^6.0.0 6.0.0 8.0.2
url_launcher any 6.3.0 6.3.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus_platform_interface - 2.0.1 3.0.1
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.12 6.3.12
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.2 3.1.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
win32 - 5.5.5 5.5.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.0.0` on package_info_plus does not support the stable version `7.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 6 errors:

  • UNDEFINED_METHOD - lib/widgets/alert_dialog_update.dart:71:32 - The method 'launchUrl' isn't defined for the type 'UpdateVersionDialog'.
  • UNDEFINED_IDENTIFIER - lib/widgets/alert_dialog_update.dart:72:25 - Undefined name 'LaunchMode'.
  • UNDEFINED_METHOD - lib/widgets/bottom_sheet_update.dart:69:48 - The method 'launchUrl' isn't defined for the type 'BottomSheetUpdateVersion'.

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.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

113
likes
120
pub points
97%
popularity

Publisher

verified publisherdeebx.tech

An easy and quick way to check if the local app is updated with the same version in their respective stores (Play Store / Apple Store ).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, package_info_plus, url_launcher

More

Packages that depend on app_version_update