background_location_plus 0.0.4
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.swiftpoint 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 noPackage.swift. - Changed: iOS sources moved from
ios/Classestoios/background_location_plus/Sources/background_location_plus, which is the layout SwiftPM requires. No source code changed. - Fix: Removed the
packageattribute from the Android manifest. Android Gradle Plugin 8 deprecated it in favour of thenamespacethe 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_interfacedependency (unused). - Fix: Stream leak when
initialize()was called multiple times. - Fix: iOS permissions now use
CLLocationManagerDelegateinstead of a fixed 1s delay. - Fix: Android
requestPermissionsnow requests permissions natively viaActivityCompat(previously always returnedfalse). - Fix: Android errors sent through
EventSink.error()instead ofsuccess(). - Fix: Android
onLocationAvailabilityno 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
ActivityAwarefor 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.