live_location_plus 0.0.3 copy "live_location_plus: ^0.0.3" to clipboard
live_location_plus: ^0.0.3 copied to clipboard

A Flutter package for real-time location tracking with foreground and background updates, built-in permission handling, and battery optimization.

live location plus #

A powerful and easy-to-use package for real-time location tracking in Flutter applications. live_location_plus helps developers efficiently manage foreground and background location updates with optimized performance.

Logo

Features #

✅ Get current location
✅ Enable live location updates (foreground & background)
✅ Efficient battery optimization
✅ Easy integration with iod/android ✅ Automatic location permission handling

Installation #

Android #

No additional setup is required.

iOS #

To enable background location updates, add the following to your Info.plist file:

<key>UIBackgroundModes</key>
<array>
    <string>location</string>
    <string>processing</string>
</array>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>write your description to using location</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>write your description to using location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>write your description to using location</string>






dependencies: live_location_plus:


import 'package:live_location_plus/live_location_plus.dart';

Usage/Examples #

import 'package:live_location_plus/live_location_plus.dart';

void main() {
  LocationService locationService = LocationService();

  locationService.init(
    currentLocation: true,
    foregroundLiveLocation: true,
    backgroundLiveLocation: false,
  );


  locationService.locationStream.listen((position) {
    print("New Location: ${position.currentLocation.latitude}, ${position.currentLocation.longitude}");
  });
}

Support #

For support, email mohammedjjaff@gmail.com.com .

Follow me at Instagram #

2
likes
140
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for real-time location tracking with foreground and background updates, built-in permission handling, and battery optimization.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, location, permission_handler

More

Packages that depend on live_location_plus