apple_product_name 2.4.0 copy "apple_product_name: ^2.4.0" to clipboard
apple_product_name: ^2.4.0 copied to clipboard

Library for translating Apple machine identifiers into Apple product names (e.g. 'iPhone15,2' to 'iPhone 14 Pro')

26
likes
150/ 160
pub points
24.5k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

11 out of 11 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ 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:apple_product_name/apple_product_name.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:apple_product_name/apple_product_name.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 `Linux`.

Because:

  • package:apple_product_name/apple_product_name.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 `macOS`.

Because:

  • package:apple_product_name/apple_product_name.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:apple_product_name/apple_product_name.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:apple_product_name/apple_product_name.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 imports:
  • package:win32_registry/src/registry_value.dart that imports:
  • package:win32_registry/src/models/models.dart that imports:
  • package:win32_registry/src/models/registry_value_type.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.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
device_info_plus >=9.0.0 <10.0.0 9.1.2 11.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
device_info_plus_platform_interface - 7.0.2 7.0.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.1.4 2.1.5
win32 - 5.12.0 5.12.0
win32_registry - 1.1.5 2.1.0

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

The constraint `>=9.0.0 <10.0.0` on device_info_plus does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions device_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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
26
likes
150
points
24.5k
downloads

Publisher

unverified uploader

Weekly Downloads

Library for translating Apple machine identifiers into Apple product names (e.g. 'iPhone15,2' to 'iPhone 14 Pro')

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

device_info_plus, flutter

More

Packages that depend on apple_product_name