Search packages, repositories and app categories

Package detailsv2.0.6

background_locator_2

A Flutter plugin to request the location even if the app is killed. Sending the location to a dart function in background, also provide a meter filter

AndroidiOS
30-day downloads
947
Likes
146
Pub points
120

Install package

flutter pub add background_locator_2

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

background_locator_2 is a Flutter plugin enabling continuous location tracking even when the app is terminated. It sends location updates to a specified Dart function in the background and includes a meter filter to control update frequency based on distance traveled. Designed for Android and iOS, it supports background execution with minimal battery impact. Ideal for fitness apps, fleet management, and real-time tracking services that require persistent location data.

Use cases

  • Real-time GPS tracking
  • Fitness and activity monitoring
  • Fleet and asset tracking
  • Location-based reminders
  • Geofencing applications

Key features

  • Background location updates
  • Meter filter for distance-based updates
  • Support for killed app scenarios
  • Cross-platform (Android & iOS)
  • Customizable update intervals

Suitable for

  • Apps needing persistent location tracking
  • Developers building logistics or delivery systems
  • Fitness and outdoor activity apps
  • Services requiring geofencing
  • Applications with high location accuracy needs

Considerations

  • Requires proper permissions and user consent
  • Battery usage may increase with frequent updates
  • iOS background modes must be configured in Xcode
  • Limited functionality on some older devices
  • Background execution may be restricted by OS policies

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Looking for Maintainers

This project is no longer actively maintained. If you are interested in becoming a maintainer, please open an issue or contact me directly !

background_locator_2 ! pub package

This package is a V2 of the background_locator package, fixing it and making it work for the newest versions of Flutter. Please read the wiki in order to make this plugin work with flutter 3.x.

A Flutter plugin for getting location updates even when the app is killed.

demo

Refer to wiki page for install and setup instruction or jump to specific subject with below links:

License

This project is licensed under the MIT License - see the LICENSE file for details

Contributor

Thanks to all who contributed on this plugin to fix bugs and adding new feature, including:

Categories

Source repository

Projects using this package