A Capacitor plugin for receiving continuous geolocation updates on iOS and Android, even when the app is in the background.
Background Geolocation is a Capacitor plugin that provides continuous geolocation updates for iOS and Android hybrid apps, even when the app is running in the background. It solves the problem of maintaining accurate location tracking for applications like fitness, logistics, or navigation without requiring the app to be active on screen. The plugin handles platform-specific requirements such as background notifications on Android and permission management.
Mobile developers building Capacitor-based hybrid apps that require persistent location tracking, such as fitness trackers, delivery services, ride-sharing apps, or field workforce tools.
Developers choose this plugin because it offers a unified, community-maintained solution for background geolocation across iOS and Android, abstracting complex native implementations while providing configurable options and reliable updates. It integrates seamlessly with Capacitor's ecosystem and includes TypeScript support.
A Capacitor plugin that sends you geolocation updates, even while the app is in the background.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Delivers consistent location updates in both foreground and background, with platform-specific handling like Android notifications and iOS status bar indicators, as detailed in the configuration options.
Supports multiple simultaneous watchers with options for distance filtering, stale locations, and automatic permissions, offering fine-grained control over location updates.
Includes full TypeScript definitions, ensuring type safety and improved developer experience, with clear import examples in the README.
Actively maintained by the Capacitor community, with regular updates for new Capacitor versions and bug fixes, as evidenced by the detailed changelog.
Requires several manual steps such as setting android.useLegacyBridge, handling notification permissions, and customizing XML files, which can be error-prone and time-consuming.
Continuous background location tracking inherently drains battery, and the plugin includes warnings about this in the backgroundMessage option, making it unsuitable for battery-sensitive apps.
Only supports iOS and Android, with no capability for web or desktop, restricting its use in fully cross-platform Capacitor applications that target all platforms.