vietmap_tracking_plugin 1.0.0-alpha.1
vietmap_tracking_plugin: ^1.0.0-alpha.1 copied to clipboard
A comprehensive Flutter plugin for GPS tracking and location data transmission to Vietmap's tracking API with background service support.
We analyzed this package 11 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
45 out of 95 API elements (47.4 %) have documentation comments.
Some symbols that are missing documentation: vietmap_tracking_plugin, vietmap_tracking_plugin.GpsLocation.GpsLocation.new, vietmap_tracking_plugin.GpsLocation.accuracy, vietmap_tracking_plugin.GpsLocation.altitude, vietmap_tracking_plugin.GpsLocation.displayAddress.
10/10 points: Package has an example
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:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat 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:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_location.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dartthat imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_location.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
It does not contain ios/vietmap_tracking_plugin/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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/tracking_location/tracking_location.dart:36:10
╷
36 │ static sendDataToServer(GpsLocation data) async {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/tracking_location/tracking_location.dart
INFO: Missing type annotation.
lib/src/tracking_location/tracking_location.dart:122:10
╷
122 │ static _handleFailedLocation(GpsLocation location) async {
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/tracking_location/tracking_location.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
background_location_2 |
^0.16.3 |
0.16.3 | 0.16.3 | |
connectivity_plus |
^6.1.4 |
6.1.5 | 7.0.0 | |
flutter_background_service |
^5.1.0 |
5.1.0 | 5.1.0 | |
flutter_local_notifications |
^19.3.0 |
19.5.0 | 20.1.0 | |
geolocator |
^14.0.1 |
14.0.2 | 14.0.2 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.5.3 |
2.5.4 | 2.5.4 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.1.4` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.
The constraint `^19.3.0` on flutter_local_notifications does not support the stable version `20.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.