background_location_plus 0.0.4 copy "background_location_plus: ^0.0.4" to clipboard
background_location_plus: ^0.0.4 copied to clipboard

Background location tracking plugin (foreground service Android + CoreLocation iOS).

0.0.4 #

  • New: Swift Package Manager support on iOS. CocoaPods keeps working: the podspec and Package.swift point at the same sources, so existing projects need no changes. This matters because CocoaPods trunk becomes read-only on December 2, 2026, and Flutter builds fail once a project enables SwiftPM and a plugin has no Package.swift.
  • Changed: iOS sources moved from ios/Classes to ios/background_location_plus/Sources/background_location_plus, which is the layout SwiftPM requires. No source code changed.
  • Fix: Removed the package attribute from the Android manifest. Android Gradle Plugin 8 deprecated it in favour of the namespace the build file already declares, and having both is what triggers the warning on every build.
  • Improved: Static analysis is clean again (unused imports in the tests, and angle brackets in a doc comment that read as HTML).

0.0.3 #

  • Breaking: Removed plugin_platform_interface dependency (unused).
  • Fix: Stream leak when initialize() was called multiple times.
  • Fix: iOS permissions now use CLLocationManagerDelegate instead of a fixed 1s delay.
  • Fix: Android requestPermissions now requests permissions natively via ActivityCompat (previously always returned false).
  • Fix: Android errors sent through EventSink.error() instead of success().
  • Fix: Android onLocationAvailability no longer sends data through the location stream — only fires an error when location becomes unavailable.
  • New: configure() applies in real-time if the Android foreground service is already running.
  • New: dispose() method to release native resources.
  • New: Customizable Android notification title and text via configure().
  • New: iOS Privacy Manifest (PrivacyInfo.xcprivacy) declares location data collection.
  • Improved: Podspec metadata (version, summary, homepage, author).
  • Improved: Android plugin implements ActivityAware for proper lifecycle handling.
  • Improved: Tests rewritten to match current API.
  • Improved: Example app with proper stream subscription management.
  • Improved: README with full API reference and correct setup instructions.

0.0.2 #

  • Fixing Static Analysis.

0.0.1 #

  • Initial release.
2
likes
160
points
262
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Background location tracking plugin (foreground service Android + CoreLocation iOS).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on background_location_plus

Packages that implement background_location_plus