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

A unified Flutter location package combining geolocator, geocoding, and native geofencing into one simple, powerful API. Battery-efficient, platform-native geofencing. Zero boilerplate, full customization.

0.2.0 #

  • BREAKING: Replaced pure-Dart polling geofencing engine with platform-native geofencing via native_geofence
    • Uses CLLocationManager on iOS and GeofencingClient on Android
    • Significantly lower battery drain compared to Dart-side location polling
    • Geofences persist across app restarts and device reboots
    • Works reliably in background and terminated states
  • Added native_geofence: ^1.2.1 as a dependency
  • Android: requires minSdkVersion 23 and new BroadcastReceiver entries in AndroidManifest.xml
  • iOS: requires NSLocationAlwaysAndWhenInUseUsageDescription in Info.plist
  • Public API (watchZone(), addZone(), stopWatchingZone(), stopWatchingZones()) remains unchanged
  • Updated README with native geofencing setup instructions

0.1.0 #

  • Initial release
  • locateOnce() — get location + address in one call
  • locateAndWatch() — live location stream
  • getLastKnownLocation() — cached position
  • reverseGeocode() — coordinates to address
  • forwardGeocode() — address to coordinates
  • watchZone() — geofencing with enter/exit/dwell events
  • addZone() / stopWatchingZone() — dynamic zone management
  • distanceBetween(), bearingBetween(), isInsideZone() — utilities
  • Full permission handling built-in
  • All underlying package options exposed via config objects
2
likes
140
points
24
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A unified Flutter location package combining geolocator, geocoding, and native geofencing into one simple, powerful API. Battery-efficient, platform-native geofencing. Zero boilerplate, full customization.

Repository (GitHub)
View/report issues

Topics

#location #geocoding #geofencing #gps #tracker

License

MIT (license)

Dependencies

flutter, geocoding, geolocator, native_geofence

More

Packages that depend on smart_location_plus