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

Libraries

live_location_plus