ip_location 1.0.1 copy "ip_location: ^1.0.1" to clipboard
ip_location: ^1.0.1 copied to clipboard

已弃用的 IP 地址查询插件,请改用 qs_ip_location。

125/ 160
pub points
104
downloads

We analyzed this package 6 days ago, and awarded it 125 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

The package description is too short.

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

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

Homepage URL doesn't exist.

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

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

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

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

7 out of 34 API elements (20.6 %) have documentation comments.

Some symbols that are missing documentation: ip_location, ip_location.IpLocation, ip_location.IpLocation.IpLocation.new, ip_location_method_channel, ip_location_method_channel.MethodChannelIpLocation.MethodChannelIpLocation.new.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/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:ip_location/ip_location.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

Swift Package Manager support:

Package does not support the Swift Package Manager on iOS

The package does not contain ios/ip_location/Package.swift.

Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors 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
json_annotation ^4.9.0 4.12.0 4.12.0
net_dio_request ^1.0.0 1.0.0 1.0.0 Discontinued
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
qs_storage_tool ^0.0.1 0.0.1 0.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio - 5.11.1 5.11.1
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
flutter_easyloading - 4.0.2 4.0.2
flutter_spinkit - 5.2.2 5.2.2
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
qs_toast - 1.0.2 1.0.2
shared_preferences - 2.5.5 2.5.5
shared_preferences_android - 2.4.28 2.4.28
shared_preferences_foundation - 2.5.7 2.5.7
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • net_dio_request.

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
125
points
104
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

已弃用的 IP 地址查询插件,请改用 qs_ip_location。

Homepage

License

MIT (license)

Dependencies

flutter, json_annotation, net_dio_request, plugin_platform_interface, qs_storage_tool

More

Packages that depend on ip_location

Packages that implement ip_location