juice_location 0.2.0 copy "juice_location: ^0.2.0" to clipboard
juice_location: ^0.2.0 copied to clipboard

Device location (one-shot + continuous tracking) as a Juice bloc, behind a swappable source seam.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.0 - 2026-08-12 #

Changed #

  • Require juice ^1.6.0 and declare an explicit concurrency policy for every event.
  • Coalesce overlapping initialization and one-shot location reads with EventConcurrency.droppable.
  • Process tracking state, position updates, and permission changes sequentially to preserve event order.

0.1.0 - 2026-05-28 #

Added #

  • Initial release.
  • LocationBloc — one-shot reads and continuous position tracking.
  • LocationSource — vendor seam; the bloc depends on this, not on a plugin, so it is testable without a device.
  • GeolocatorLocationSource — default backed by geolocator.
  • GeoPosition — vendor-agnostic position (lat/lng/accuracy/altitude/speed/heading).
  • setPermissionStatus — neutral permission entry point; wire from juice_permissions with a PermissionBinding (no juice_permissions dep here).
  • Rebuild groupslocation:position, location:tracking, location:permission, location:error.
0
likes
140
points
22
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Device location (one-shot + continuous tracking) as a Juice bloc, behind a swappable source seam.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#location #geolocation #bloc #state-management #gps

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, geolocator, juice

More

Packages that depend on juice_location