backgroundlocatorservice 0.0.2 copy "backgroundlocatorservice: ^0.0.2" to clipboard
backgroundlocatorservice: ^0.0.2 copied to clipboard

A Flutter package for background location tracking using background_locator_2.

Background Locator Service #

A Flutter package that provides functionality for recording audio with the ability to pause, resume, and stop the recording. It also includes background notifications to manage the recording state.

Features #

✅ Runs location tracking in the background. ✅ Optimized for low power consumption. ✅ Works on Android. ✅ Handles location permissions automatically. ✅ Provides real-time location updates via streams.

Getting Started #

Inside <manifest>:

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>

Inside <application>:

<service
android:name="com.example.backgroundlocatorservice.LocationService"
android:foregroundServiceType="location"
android:exported="false" />

Location: android/app/build.gradle

compileSdkVersion 34
minSdkVersion 23

defaultConfig {
    multiDexEnabled true  // Required for large applications
}
0
likes
115
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for background location tracking using background_locator_2.

Documentation

API reference

License

MIT (license)

Dependencies

background_locator_2, flutter

More

Packages that depend on backgroundlocatorservice