vk_location_sharing 1.0.2 copy "vk_location_sharing: ^1.0.2" to clipboard
vk_location_sharing: ^1.0.2 copied to clipboard

discontinued
PlatformAndroidiOS

A Flutter package for implementing location sharing with foreground streams and periodic background updates.

1.0.2 #

  • Fixed background callback in Workmanager
  • Fixed network constraint restriction
  • Added example Android configuration
  • Added debug logging to background service
  • Updated README with background setup

1.0.1 #

  • updated workmanager version.

1.0.0 #

BREAKING CHANGES:

  • Renamed startForegroundSharing() to shareLocation() for unified API
  • Renamed initializeBackground() to initialize() - now required initialization
  • Removed separate start/stop foreground and background methods
  • Changed from returning streams to exposing stream properties
  • Modified callback signature to include isBackground flag

NEW FEATURES:

  • New LocationConfig class for centralized configuration
  • Added initialize() method that must be called before shareLocation()
  • Two separate streams: foregroundLocationStream and backgroundLocationStream
  • New handleForegroundAndBackgroundSeparately option in LocationConfig
  • Custom callback support via onLocationUpdate in LocationConfig
  • New dispose() method for proper cleanup
  • Added shared_preferences dependency for background location persistence

IMPROVEMENTS:

  • Better permission handling with improved error messages
  • More flexible stream management with StreamController
  • Better support for custom location handlers and callbacks
  • Improved test coverage with updated unit tests
  • Updated workmanager to ^0.9.0 for better compatibility with modern Flutter
  • Fixed Kotlin compilation errors on Android

DOCUMENTATION:

  • Comprehensive dartdoc comments for all public APIs
  • Updated README with new API usage examples
  • Added detailed example application

0.0.1 #

  • Initial release of vk_location_sharing.
  • Support for foreground location streaming using geolocator.
  • Support for background location updates using workmanager.
  • Integrated permission handling.
  • Configurable accuracy and distance filters.
  • Unified API via VkLocationSharing class.
0
likes
140
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for implementing location sharing with foreground streams and periodic background updates.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, geolocator, shared_preferences, workmanager

More

Packages that depend on vk_location_sharing