betracky_background_location 1.0.3
betracky_background_location: ^1.0.3 copied to clipboard
Betracky Background Location Service with Upload Locations to Your Own Server
We analyzed this package 11 days ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 46 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: betracky_background_location, database_helper, database_helper.DatabaseHelper, database_helper.DatabaseHelper.DatabaseHelper.internal, database_helper.DatabaseHelper.DatabaseHelper.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.dartthat imports:package:betracky_background_location/utils/database_helper.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.dartthat imports:package:betracky_background_location/utils/database_helper.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.dartthat imports:package:workmanager/workmanager.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.dartthat imports:package:betracky_background_location/utils/database_helper.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
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:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.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:betracky_background_location/betracky_background_location.dartthat imports:package:betracky_background_location/services/location_service.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/services/location_service.dart:75:27
╷
75 │ if (data != null && data is Map<String, dynamic>) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/services/location_service.dart
INFO: The variable name 'access_token' isn't a lowerCamelCase identifier.
lib/services/location_service.dart:22:13
╷
22 │ String? access_token,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/services/location_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_background_service |
^5.1.0 |
5.1.0 | 5.1.0 | |
flutter_foreground_task |
^8.17.0 |
8.17.0 | 9.2.0 | |
geolocator |
^13.0.2 |
13.0.4 | 14.0.2 | |
http |
^1.2.0 |
1.6.0 | 1.6.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
shared_preferences |
^2.5.2 |
2.5.4 | 2.5.4 | |
sqflite |
^2.4.1 |
2.4.2 | 2.4.2 | |
workmanager |
^0.5.2 |
0.5.2 | 0.9.0+3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^8.17.0` on flutter_foreground_task does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_foreground_task to update the constraint.
The constraint `^13.0.2` on geolocator does not support the stable version `14.0.0`.
Try running dart pub upgrade --major-versions geolocator 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.