betracky_background_location 1.0.3 copy "betracky_background_location: ^1.0.3" to clipboard
betracky_background_location: ^1.0.3 copied to clipboard

Betracky Background Location Service with Upload Locations to Your Own Server

105/ 160
pub points
22
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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.dart that imports:
  • package:betracky_background_location/services/location_service.dart that imports:
  • package:betracky_background_location/utils/database_helper.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:betracky_background_location/betracky_background_location.dart that imports:
  • package:betracky_background_location/services/location_service.dart that imports:
  • package:betracky_background_location/utils/database_helper.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:betracky_background_location/betracky_background_location.dart that imports:
  • package:betracky_background_location/services/location_service.dart that imports:
  • package:workmanager/workmanager.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:betracky_background_location/betracky_background_location.dart that imports:
  • package:betracky_background_location/services/location_service.dart that imports:
  • package:betracky_background_location/utils/database_helper.dart that imports:
  • package:sqflite/sqflite.dart that 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.dart that imports:
  • package:betracky_background_location/services/location_service.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:betracky_background_location/betracky_background_location.dart that imports:
  • package:betracky_background_location/services/location_service.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
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

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

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
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
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_background_service_android - 6.3.1 6.3.1
flutter_background_service_ios - 5.0.3 5.0.3
flutter_background_service_platform_interface - 5.1.2 5.1.2
geolocator_android - 4.6.2 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 4.1.3 4.1.3
geolocator_windows - 0.2.5 0.2.5
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
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.

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.

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
105
points
22
downloads

Publisher

verified publisherdineshwayaman.com

Weekly Downloads

Betracky Background Location Service with Upload Locations to Your Own Server

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_background_service, flutter_foreground_task, geolocator, http, path, shared_preferences, sqflite, workmanager

More

Packages that depend on betracky_background_location