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 18 hours ago, and awarded it 150 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
20/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.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.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:vietmap_tracking_plugin/vietmap_tracking_plugin.dart
that imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_location.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dart
that imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_location.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_web/web_settings.dart
that declares support for platforms:Web
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:vietmap_tracking_plugin/vietmap_tracking_plugin.dart
that imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_service.dart
that imports:package:vietmap_tracking_plugin/src/tracking_location/tracking_location_background.dart
that imports:package:background_location_2/background_location.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/vietmap_tracking_plugin/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 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
10/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.4.2 | 19.4.2 | |
geolocator |
^14.0.1 |
14.0.2 | 14.0.2 | |
http |
^1.1.0 |
1.5.0 | 1.5.0 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.5.3 |
2.5.3 | 2.5.3 |
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`, that was published 21 days ago.
When connectivity_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions connectivity_plus
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.