Flutter Location Tracking SDK for Android and iOS
Add background and real time location tracking to your Flutter app with Track SDK Hub. Integrate a Dart based interface connected to native Android and iOS tracking capabilities.
- Interface
- Dart plugin API
- Native targets
- Android & iOS
- Android
- minSdk 26
- iOS
- iOS 17+
TrackIt.instance.events.listen(handleEvent);
final ready = TrackIt.instance.ready();
await TrackIt.instance.start(tag: 'commute');
Flutter plugin overview
Build Flutter Location Features Without the Tracking Complexity
Location tracking in Flutter apps requires native platform integration, permission handling, background execution and reliable location data management.
Track SDK Hub provides a Flutter plugin connected to native Android and iOS tracking SDKs, helping developers add location functionality without building the tracking infrastructure from scratch.
What the Flutter Plugin Handles
- Dart interface connected directly to native Android and iOS tracking SDKs
- Foreground and background location tracking, run natively - no background isolate needed
- Local offline location capture with synchronisation when connectivity returns
- Geofencing, trip tracking, and location history capabilities
Core capabilities
Location Tracking Features for Flutter Apps
Access Track SDK Hub capabilities from your Dart codebase for Flutter geolocation, geofencing, and trip workflows.
Background Location Tracking
Support Flutter background location tracking through native Android and iOS services when configured for your app.
Real Time Location Updates
Receive Flutter real time location tracking updates in your Dart application as the device moves.
Geofencing
Configure geographic boundaries for Flutter geofencing and respond to entry and exit events.
Location History
Query stored location records to display past routes, stops, and activity timelines.
Movement Detection
Detect moving and stationary states to help your app adapt tracking behaviour appropriately.
Distance and Trip Tracking
Manage tracking sessions, calculate distance travelled, and organise recorded trip data.
Offline Location Capture
Store location data locally when the device is offline and synchronise when connectivity returns.
Track Plotting and Export
Build recorded location tracks and export route data in supported formats for your workflows.
Platform behaviour note: Background tracking behaviour depends on the operating system, granted permissions, device settings, and app configuration.
Plugin architecture
Flutter Interface. Native Tracking.
The Flutter plugin connects your Dart application code with native Android and iOS tracking functionality.
Native rules still apply
Native setup, required permissions, and background tracking behaviour follow Android and iOS platform rules independently.
iOS location services, authorization prompts, and background modes
Android location services, permissions, and OS background rules
Integration workflow
Integrate Location Tracking into Your Flutter App
Follow the Flutter location tracking integration flow to add the plugin, configure native platforms, and start receiving updates.
Add the Flutter Package
Add the Track SDK Hub Flutter plugin dependency to your project as described in the Flutter guide.
trackit_flutter (pubspec.yaml)
Configure Android and iOS Requirements
Set up the required location permissions, background modes, and native manifest or Info.plist entries for Android and iOS.
Initialize Tracking and Receive Location Data
Subscribe to events first, start readiness without blocking your first frame, then start tracking and handle updates.
TrackIt.instance.start(tag: 'commute')
Requirements
Built for Modern Flutter Applications
Developer documentation
Everything Developers Need to Get Started
Explore the Flutter integration guide for package installation, native configuration, permissions, tracking setup, API usage and troubleshooting.
View Flutter DocumentationUse cases
Location Tracking for Flutter Applications
Support cross-platform location workflows across Android and iOS from a single Flutter codebase.
Delivery and Logistics Apps
Capture live courier locations, record delivery routes, and trigger geofence arrival events.
Field Workforce Applications
Track field visits, site check-ins, and job routes even when mobile connectivity drops offline.
Fleet Tracking Apps
Monitor vehicle trips, calculate distance travelled, and export recorded tracks for dispatch review.
Fitness and Activity Apps
Record outdoor workouts, measure trip distance, and plot completed routes from location history.
Location Based Applications
Use real time location updates, movement detection, and geofencing events to power contextual features in consumer and enterprise Flutter apps.
FAQs
Frequently Asked Questions
Key details on Flutter location tracking integration, native configuration, and platform rules.
More detail in the Flutter developer guide.
Start Building with Flutter Location Tracking
Explore Track SDK Hub and simplify the process of adding location tracking to your Flutter application.
30 day free trial · Full SDK access