smart_location 3.7.0
smart_location: ^3.7.0 copied to clipboard
Smart Location is a powerful, battery-conscious Flutter plugin for continuous background geolocation tracking, advanced geofencing, and motion-aware updates.
Smart Location 🌍 #
The absolute most scalable, resilient location tracking package for Flutter.
version: 3.7.0
Whether you are building a simple weather app or a massive delivery logistics platform, smart_location scales perfectly with your needs.
🚀 Two Tiers of Power #
To keep things simple, smart_location is designed with two tiers.
Use Tier 1 if you are a beginner or just need simple tracking. Use Tier 2 if you are building an enterprise application.
🟢 Tier 1: SmartLocationLite (Beginners & Simple Apps) #
If you are building a weather app, dating app, or simple run tracker, use SmartLocationLite. It is incredibly lightweight, battery-friendly, and simple to use.
import 'package:smart_location/smart_location.dart';
// Get a single location
final myLocation = await SmartLocationLite.getCurrentLocation();
print("I am at: ${myLocation.latitude}, ${myLocation.longitude}");
// Track movement in the foreground
final sub = SmartLocationLite.trackMovement().listen((location) {
print("I am moving: ${location.latitude}");
});
That's it! No complex managers, no battery drain.
🔴 Tier 2: Enterprise Logistics (Delivery, Ride-Sharing) #
If you are building Uber, Doordash, or a fleet tracking system, you need the heavy artillery. The SmartLocation enterprise managers provide powerful features for demanding logistics.
1. Resilient Background Tracking
Maintains reliable tracking even when the app is in the background or device conditions are constrained.
2. Intelligent Battery Conservation
Conserves power efficiently by managing hardware activity based on user movement, ensuring long-lasting tracking.
3. Massive Geofencing Scale
Supports monitoring tens of thousands of geofences simultaneously, including time-gated and dynamic geofencing features.
4. Location Data Security
Ensures your tracking data is completely secure and tamper-proof for compliance and data integrity.
5. Driver Safety & Telematics
Includes accurate impact detection and continuous monitoring of driving behavior metrics.
6. Efficient Offline Sync
Intelligently buffers location data in dead zones and synchronizes it efficiently once the network returns.
7. Tunnel Tracking
Maintains a reliable position estimate even when the device temporarily loses direct GPS connectivity.
8. Anti-Spoofing
Detects and mitigates mocked or spoofed location data points natively.
9. Indoor Positioning
Supports reliable tracking within large indoor environments.
10. Map-Matching
Automatically aligns raw coordinates to known pathways for clean visual route traces.
11. Destination Intelligence
Provides features for proactively estimating upcoming routes.
12. Developer Tooling
Includes a live diagnostic overlay to monitor system health during development and testing.
⚡ Seamless Integration & Performance #
We designed Smart Location to be incredibly powerful, but we also made it completely flexible to match your business needs seamlessly.
🔌 Frictionless Backend Connectivity #
Whether you have a legacy backend or a modern cloud architecture, Smart Location connects instantly. You can choose to send your location data in universally accepted formats or leverage our highly efficient data pipelines for reduced bandwidth usage.
🔋 Intelligent Battery Conservation #
You have total control over battery consumption. Smart Location understands the user's physical motion, allowing your app to intelligently conserve power when stationary.
🌲 Ultra-Lightweight App Footprint #
Our intelligent package architecture ensures that your app remains perfectly lightweight. When you compile your app for production, any heavy enterprise features that you aren't using are automatically stripped out.
🛠 Troubleshooting & Friction #
Are you facing Android Battery Killers, Gradle conflicts, or iOS Podfile issues? We have solved them all!
👉 Read the TROUBLESHOOTING.md Guide
License #
MIT License