location_mocker 0.0.1 copy "location_mocker: ^0.0.1" to clipboard
location_mocker: ^0.0.1 copied to clipboard

PlatformAndroid

A comprehensive Flutter plugin for GPS location mocking, route manipulation, and GPX file handling

120/ 160
pub points
7
downloads

We analyzed this package 7 days ago, and awarded it 120 pub points (of a possible 160):

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

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

Failed to verify repository URL.

pubspec.yaml from the repository has no repository or homepage 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: location_mocker,
    • contains a version property, and,
    • does not contain a publish_to property.

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

26 out of 75 API elements (34.7 %) have documentation comments.

Some symbols that are missing documentation: coordinates, coordinates.Coordinates.Coordinates.fromJson, coordinates.Coordinates.Coordinates.new, coordinates.Coordinates.elevation, coordinates.Coordinates.heading.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:location_mocker/location_mocker.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

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

Because:

  • package:location_mocker/location_mocker.dart that declares support for platforms: Android.

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.

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

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

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/location_mocker.dart:41:7

   ╷
41 │       return startMockingWithGpx(gpxData, playbackSpeed: playbackSpeed);
   │       ^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/route_manager/route_manager.dart:83:23

   ╷
83 │   /// Returns a Future<bool> indicating whether the deviation was successfully applied.
   │                       ^^^^^^
   ╵

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

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
downloadsfolder ^0.0.5 0.0.5 1.2.0
http ^0.13.4 0.13.6 1.6.0
permission_handler ^11.0.1 11.4.0 13.0.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
retry ^3.1.2 3.1.2 3.1.2
xml ^6.2.0 6.6.1 7.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.2.1 2.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dartx - 1.2.0 1.2.0
device_info_plus - 9.1.2 13.2.0
device_info_plus_platform_interface - 7.0.3 8.1.0
diacritic - 0.1.6 0.1.6
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.2 1.0.2
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.5.0 9.5.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
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
permission_handler_android - 12.1.0 14.0.0
permission_handler_apple - 9.6.1 9.6.1
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.0 4.4.0
permission_handler_windows - 0.2.2 0.2.2
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
pub_semver - 2.2.0 2.2.0
record_use - 1.1.1 1.1.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
time - 2.1.6 2.1.6
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.2 6.3.2
url_launcher_android - 6.3.32 6.3.32
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
win32 - 5.15.0 6.4.0
win32_registry - 1.1.5 3.0.3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 4 issues. Showing the first 2:

The constraint `^0.0.5` on downloadsfolder does not support the stable version `0.1.1`.

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.23.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
7
downloads

Documentation

API reference

Publisher

verified publisheramrahmd.com

Weekly Downloads

A comprehensive Flutter plugin for GPS location mocking, route manipulation, and GPX file handling

License

MIT (license)

Dependencies

downloadsfolder, flutter, http, permission_handler, plugin_platform_interface, retry, xml

More

Packages that depend on location_mocker

Packages that implement location_mocker