app_upgrade_flutter_sdk 2.0.2 copy "app_upgrade_flutter_sdk: ^2.0.2" to clipboard
app_upgrade_flutter_sdk: ^2.0.2 copied to clipboard

The official Flutter SDK for App Upgrade. The SDK integrates with the App Upgrade version check API.

24
likes
100/ 160
pub points
1.26k
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/appupgrade-dev/app_upgrade_flutter_sdk was unreachable. Make sure that the website is reachable via HEAD requests.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

3 out of 62 API elements (4.8 %) 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: app_upgrade_flutter_sdk, app_upgrade_flutter_sdk.AppInfo, app_upgrade_flutter_sdk.AppInfo.AppInfo, app_upgrade_flutter_sdk.AppInfo.appId, app_upgrade_flutter_sdk.AppInfo.appLanguage.

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_upgrade_flutter_sdk/app_upgrade_flutter_sdk.dart that imports:
  • package:app_upgrade_flutter_sdk/src/app_upgrade_alert.dart that imports:
  • package:app_upgrade_flutter_sdk/src/app_upgrade.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:app_upgrade_flutter_sdk/app_upgrade_flutter_sdk.dart that imports:
  • package:app_upgrade_flutter_sdk/src/app_upgrade_alert.dart that imports:
  • package:app_upgrade_flutter_sdk/src/app_upgrade.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 17 issues. Showing the first 2:

WARNING: Unused import: 'package:http/http.dart'.

lib/src/app_upgrade_base.dart:2:8

  ╷
2 │ import 'package:http/http.dart' as http;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'app_info.dart' is unnecessary because all of the used elements are also provided by the import of 'package:app_upgrade_flutter_sdk/app_upgrade_flutter_sdk.dart'.

lib/src/app_upgrade.dart:6:8

  ╷
6 │ import 'app_info.dart';
  │        ^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app_upgrade.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 ^0.13.0 0.13.6 1.2.2
url_launcher ^6.1.10 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
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.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0

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

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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 2 errors:

  • URI_DOES_NOT_EXIST - lib/src/app_upgrade_api.dart:3:8 - Target of URI doesn't exist: 'package:http/retry.dart'.
  • UNDEFINED_METHOD - lib/src/app_upgrade_api.dart:10:31 - The method 'RetryClient' isn't defined for the type 'AppUpgradeApi'.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

24
likes
100
points
1.26k
downloads

Publisher

verified publisherappupgrade.dev

Weekly Downloads

The official Flutter SDK for App Upgrade. The SDK integrates with the App Upgrade version check API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, url_launcher

More

Packages that depend on app_upgrade_flutter_sdk