retrive_device_info 0.2.5 copy "retrive_device_info: ^0.2.5" to clipboard
retrive_device_info: ^0.2.5 copied to clipboard

PlatformAndroid

SDK for retreiving device infomation

1
likes
90/ 140
pub points
0%
popularity

We analyzed this package 43 hours ago, and awarded it 90 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

1 out of 5 API elements (20.0 %) have documentation comments.

Some symbols that are missing documentation: retrive_device_info, retrive_device_info.ContactSmsScreen, retrive_device_info.ContactSmsScreen.ContactSmsScreen, retrive_device_info.onBackgroundMessage.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:retrive_device_info/retrive_device_info.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 `Windows`.

Because:

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

Because:

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

Because:

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

Because:

  • package:retrive_device_info/retrive_device_info.dart that imports:
  • package:telephony/telephony.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:retrive_device_info/retrive_device_info.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.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

WARNING: The value of the local variable 'list1' isn't used.

lib/retrive_device_info.dart:121:9

    ╷
121 │     var list1;
    │         ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/retrive_device_info.dart

WARNING: The value of the local variable 'smsFormData' isn't used.

lib/retrive_device_info.dart:122:26

    ╷
122 │     Map<String, dynamic> smsFormData;
    │                          ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/retrive_device_info.dart

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
call_log ^4.0.0 4.0.0 4.0.0
contacts_service ^0.6.3 0.6.3 0.6.3
device_apps ^2.2.0 2.2.0 2.2.0
device_info_plus ^9.1.0 9.1.2 10.1.0
dio ^5.3.2 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.1 1.2.1
installed_apps ^1.3.1 1.5.0 1.5.0
path_provider ^2.1.1 2.1.3 2.1.3
permission_handler ^11.0.1 11.3.1 11.3.1
telephony ^0.2.0 0.2.0 0.2.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
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
permission_handler_android - 12.0.6 12.0.6
permission_handler_apple - 9.4.4 9.4.4
permission_handler_html - 0.1.1 0.1.1
permission_handler_platform_interface - 4.2.1 4.2.1
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.1 3.2.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
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.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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.