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>




dependencies: live_location_plus:


```dart
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

Libraries

live_location_plus