Skip to content

chore: update supported platforms #106

chore: update supported platforms

chore: update supported platforms #106

GitHub Actions / Analysis of device_marketing_names succeeded Jul 30, 2024 in 1m 16s

Package analysis results for device_marketing_names

Score

160/160 points
(100.0%)

Supported platforms

  • Flutter
    • android
    • ios
    • web

Details

Follow Dart file conventions (30/30)

✔ 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: Apache-2.0.

Provide documentation (20/20)

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

9 out of 14 API elements (64.3 %) have documentation comments.

Some symbols that are missing documentation: device_marketing_names, device_marketing_names.DeviceMarketingNames.deviceNames, device_marketing_names.GetData, device_marketing_names.GetData.getFirst, device_marketing_names.GetData.getList.

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:device_marketing_names/device_marketing_names.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:device_marketing_names/device_marketing_names.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:device_marketing_names/device_marketing_names.dart that declares support for platforms: Android, iOS, Web.

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:device_marketing_names/device_marketing_names.dart that imports:
  • package:device_marketing_names/src/device_lookup.dart that imports:
  • package:device_marketing_names/src/types/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:device_marketing_names/device_marketing_names.dart that imports:
  • package:device_marketing_names/src/device_lookup.dart that imports:
  • package:device_marketing_names/src/types/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:device_marketing_names/device_marketing_names.dart that imports:
  • package:device_marketing_names/src/device_lookup.dart that imports:
  • package:device_marketing_names/src/types/device.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

Pass static analysis (50/50)

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

Support up-to-date dependencies (40/40)

✔ 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
device_info_plus >=4.1.2 <11.0.0 10.1.1 10.1.1
flutter flutter 0.0.0 0.0.0
universal_platform ^1.1.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
device_info_plus_platform_interface - 7.0.1 7.0.1
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
web - 1.0.0 1.0.0
win32 - 5.5.1 5.5.1
win32_registry - 1.1.4 1.1.4

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

✔ 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.

Versions