device_info_sdk 1.0.0 copy "device_info_sdk: ^1.0.0" to clipboard
device_info_sdk: ^1.0.0 copied to clipboard

A comprehensive Flutter SDK for retrieving detailed device information including hardware specs, battery status, display metrics, and platform-specific data on Android and iOS.

140/ 160
pub points
109
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/adedamolaagunbiade/device_info_sdk was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/adedamolaagunbiade/device_info_sdk was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/adedamolaagunbiade/device_info_sdk/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://github.com/adedamolaagunbiade/device_info_sdk#readme was unreachable. Make sure that the website is reachable via HEAD requests.

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

67 out of 72 API elements (93.1 %) have documentation comments.

Some symbols that are missing documentation: device_info_sdk, device_info_sdk.BatteryInfo.BatteryInfo.new, device_info_sdk.DeviceInfo.DeviceInfo.new, device_info_sdk.DeviceInfoSDK.instance, device_info_sdk.DisplayMetrics.DisplayMetrics.new.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

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

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_info_sdk/device_info_sdk.dart that imports:
  • package:device_info_sdk/src/device_info_sdk.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:device_info_sdk/device_info_sdk.dart that imports:
  • package:device_info_sdk/src/device_info_sdk.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:device_info_sdk/device_info_sdk.dart that imports:
  • package:device_info_sdk/src/device_info_sdk.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

/tmp/pana_NSIDJP/lib/src/device_info_sdk.dart doesn't match the Dart formatter.

To format your files run: dart format .

Partially passed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
battery_plus ^6.0.2 6.2.3 7.0.0
connectivity_plus ^6.0.5 6.1.5 7.0.0
device_info_plus ^10.1.2 10.1.2 12.1.0
package_info_plus ^8.0.2 8.3.1 9.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
battery_plus_platform_interface - 2.0.1 2.0.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
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
upower - 0.7.0 0.7.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
win32_registry - 1.1.5 2.1.0
xml - 6.6.1 6.6.1

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

Found 4 issues. Showing the first 2:

The constraint `^6.0.2` on battery_plus does not support the stable version `7.0.0`, that was published 21 days ago.

When battery_plus is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions battery_plus to update the constraint.

The constraint `^6.0.5` on connectivity_plus does not support the stable version `7.0.0`, that was published 21 days ago.

When connectivity_plus is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions connectivity_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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
109
downloads

Publisher

unverified uploader

Weekly Downloads

A comprehensive Flutter SDK for retrieving detailed device information including hardware specs, battery status, display metrics, and platform-specific data on Android and iOS.

Repository (GitHub)
View/report issues

Topics

#device-info #hardware #battery #android #ios

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

battery_plus, connectivity_plus, device_info_plus, flutter, package_info_plus

More

Packages that depend on device_info_sdk