device_meta 1.1.26 copy "device_meta: ^1.1.26" to clipboard
device_meta: ^1.1.26 copied to clipboard

Basic information about the user's device. Fetch the device's model, manufacturer, operating system, version and more.

3
likes
120/ 140
pub points
72%
popularity

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

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

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

Unable to access git repository: Could not accept branch name: 1.x.

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

7 out of 19 API elements (36.8 %) have documentation comments.

Some symbols that are missing documentation: device_meta, device_meta.DeviceMeta.brand, device_meta.DeviceMeta.countryCode, device_meta.DeviceMeta.instance, device_meta.DeviceMeta.manufacturer.

10/10 points: Package has an example

OK
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:device_meta/device_meta.dart that imports:
  • package:nylo_support/helpers/helper.dart that imports:
  • package:nylo_support/nylo.dart that imports:
  • package:nylo_support/exceptions/validation_exception.dart that imports:
  • package:nylo_support/validation/rules.dart that imports:
  • package:nylo_support/helpers/extensions.dart that imports:
  • package:nylo_support/router/router.dart that imports:
  • package:nylo_support/router/ui/page_not_found.dart that imports:
  • package:nylo_support/localization/app_localization.dart that imports:
  • package:nylo_support/widgets/ny_language_switcher.dart that imports:
  • package:nylo_support/widgets/ny_state.dart that imports:
  • package:nylo_support/validation/ny_validator.dart that imports:
  • package:nylo_support/metro/metro_service.dart that imports:
  • package:nylo_support/metro/metro_console.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:device_meta/device_meta.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_meta/device_meta.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:device_meta/device_meta.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:device_meta/device_meta.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.
OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
device_info_plus ^9.1.2 9.1.2 10.1.0
flutter flutter 0.0.0 0.0.0
nylo_support ^5.68.3 5.69.4 5.69.4
universal_platform ^1.0.0+1 1.0.0+1 1.0.0+1
uuid ^4.4.0 4.4.0 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
animate_do - 3.3.4 3.3.4
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
device_info_plus_platform_interface - 7.0.0 7.0.0
dio - 5.4.3+1 5.4.3+1
equatable - 2.0.5 2.0.5
error_stack - 1.3.3 1.3.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_dotenv - 5.1.0 5.1.0
flutter_localizations - 0.0.0 0.0.0
flutter_secure_storage - 9.2.1 9.2.1
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.1 3.1.1
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_staggered_grid_view - 0.7.0 0.7.0
flutter_styled_toast - 2.2.1 2.2.1
flutter_web_plugins - 0.0.0 0.0.0
get_time_ago - 1.3.1 1.3.1
http_parser - 4.0.2 4.0.2
intl - 0.19.0 0.19.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
page_transition - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pretty_dio_logger - 1.3.1 1.3.1
pull_to_refresh_flutter3 - 2.0.2 2.0.2
recase - 4.1.0 4.1.0
rxdart - 0.27.7 0.27.7
shared_preferences - 2.2.3 2.2.3
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
skeletonizer - 1.1.2+1 1.1.2+1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
theme_provider - 0.6.0 0.6.0
typed_data - 1.3.2 1.3.2
url_launcher - 6.2.6 6.2.6
url_launcher_android - 6.3.2 6.3.2
url_launcher_ios - 6.3.0 6.3.0
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
validated - 2.0.0 2.0.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
win32_registry - 1.1.3 1.1.3
xdg_directories - 1.0.4 1.0.4

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

The constraint `^9.1.2` 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.

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

3
likes
120
pub points
72%
popularity

Publisher

unverified uploader

Basic information about the user's device. Fetch the device's model, manufacturer, operating system, version and more.

Homepage
Repository (GitHub)
View/report issues

Topics

#device-info #device-meta #operating-system

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (LICENSE)

Dependencies

device_info_plus, flutter, nylo_support, universal_platform, uuid

More

Packages that depend on device_meta