background_geolocation_plugin 0.1.1 copy "background_geolocation_plugin: ^0.1.1" to clipboard
background_geolocation_plugin: ^0.1.1 copied to clipboard

Background geolocation plugin for flutter. Works in background and even when the is closed.

background_geolocation_plugin #

Background geolocation plugin for Flutter (Android only).

Features #

  • Android Foreground service make sure to save geolocations when application is in the background as well as when the app is closed.
  • Control Location tracking (start/stop/pause/continue)
  • Getting state of the service (running/binded/how many locations stored/ are permissions granted / metadata)
  • Requesting permission for GPS
  • Setting and reading metadata (might be helpfull when application were closed, but service is continue to store geolocations)
  • Getting all stored locations & only new ones

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installing #

Add service declaration to your Android manifest file, just before ending tag: "</application>".

 <service
    android:name="com.kgit.background_geolocation_plugin.service.BackgroundLocationService"
    android:enabled="true"
    android:exported="false"/>
4
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Background geolocation plugin for flutter. Works in background and even when the is closed.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on background_geolocation_plugin