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

discontinuedreplaced by: device_info_plus
outdated

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

25/ 160
pub points
311k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: device_info.

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_info,
    • contains a version property, and,
    • does not contain a publish_to property.
Homepage URL doesn't exist.

At the time of the analysis https://github.com/flutter/plugins/tree/master/packages/device_info was unreachable. Make sure that the website is reachable via HEAD requests.

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:20:1

   ╷
20 │ <a href="http://flutter.io/">documentation</a>.</p>
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

Dependency resolution failed, unable to run dartdoc.

Passed check 10/10 points: Package has an example

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

Failed check 0/20 points: Platform support detection failed

Could not determine supported platforms as package resolution failed.

Run flutter pub get for more information.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

  • Running flutter pub outdated failed with the following output:
The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.
Failed report section
Support up-to-date dependencies
0 / 40trigger folding of the section

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

Sdk constraint doesn't support current Dart version 3.10.7. Cannot run `flutter pub outdated`.

pubspec.yaml:28:8

   ╷
28 │   sdk: ">=2.1.0<3.0.0"
   │        ^^^^^^^^^^^^^^^
   ╵

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

Sdk constraint doesn't support current Dart version 3.10.7.

pubspec.yaml:28:8

   ╷
28 │   sdk: ">=2.1.0<3.0.0"
   │        ^^^^^^^^^^^^^^^
   ╵

Try widening the upper boundary of the constraint.

The current SDK constraint does not allow the Dart version used by the latest stable Flutter (3.10.4)

pubspec.yaml:28:8

   ╷
28 │   sdk: ">=2.1.0<3.0.0"
   │        ^^^^^^^^^^^^^^^
   ╵

Failed check 0/20 points: Compatible with dependency constraint lower bounds

flutter pub downgrade failed with:

OUT:
Resolving dependencies...
ERR:
The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0'
or higher to enable null safety.

The current Dart SDK (3.10.4) only supports null safety.

For details, see https://dart.cn/null-safety
Failed to update packages.

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1.26k
likes
25
points
311k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

Flutter plugin providing detailed information about the device (make, model, etc.), and Android or iOS version the app is running on.

License

BSD-3-Clause (license)

Dependencies

device_info_platform_interface, flutter

More

Packages that depend on device_info

Packages that implement device_info