React Native Location Tracking SDK for iOS and Android
Add location tracking to your React Native app with Track SDK Hub. Use a TypeScript API backed by native tracking components to build location features for iOS and Android applications.
- API language
- TypeScript API
- Targets
- iOS 17+ & Android 26+
- React Native
- 0.76+ (New Arch)
- Maps
- Native map view
await TrackIt.ready({ trackingMode: 'adaptive' });
await TrackIt.start('my-trip');
const track = await TrackIt.buildTrack();
Cross-platform architecture
Build Cross Platform Location Features with One React Native API
Developing location tracking for React Native apps involves native platform requirements, background behaviour, permissions and location data management.
Track SDK Hub provides a React Native integration with native tracking components for iOS and Android, helping developers add location functionality without building every tracking component independently.
Unified TypeScript Interface
Write application logic once in TypeScript while delegating location collection to native platform components.
Native iOS and Android Components
Backed by platform-specific native tracking modules for background behaviour, geofencing, and location persistence.
Core capabilities
Location Tracking Features for React Native Apps
Core React Native geolocation SDK capabilities designed for iOS and Android mobile applications.
Background Location Tracking
Support React Native background location tracking through native platform services. Actual behaviour depends on operating system rules, permissions, device settings and app configuration.
Location Updates
Receive React Native real time location tracking updates in your TypeScript application as the device moves or when requested.
Location History
Access stored location points to inspect past movement, reconstruct routes, and build activity timelines.
Geofencing
Implement React Native geofencing by defining geographic boundaries and handling entry or exit events.
Odometer and Distance Tracking
Track cumulative distance travelled across active sessions using location data managed by the SDK.
Track Plotting
Assemble recorded coordinates into structured tracks for route visualisation and trip playback.
Location Data Synchronisation
Buffer location data locally on the device and synchronise collected records with your backend services.
Native Map Components
Display recorded tracks, live markers, and location views using native map components inside React Native.
Platform bridge
One API for iOS and Android
Track SDK Hub provides a React Native integration designed to connect JavaScript and TypeScript application code with native tracking functionality.
Platform-Specific Setup Still Applies
While your application code shares one TypeScript API, iOS and Android still require their respective native configuration, capabilities, and runtime permissions.
iOS 17+ native configuration & permissions
Android minSdk 26+ native configuration & permissions
Integration workflow
Integrate Location Tracking into Your React Native App
Follow the React Native location tracking integration guide to add native tracking to your project in three steps.
Install the React Native Package
Add the Track SDK Hub React Native package to your project. On install it fetches and verifies the native iOS frameworks.
npm install @devstree/react-native-trackit
Configure Native Platform Requirements
Complete the required iOS and Android native configuration and permissions, including the Android Maps key.
Initialize Tracking and Receive Location Data
Initialize the SDK through the TypeScript API, start location tracking, and handle incoming location updates and events in your app.
TrackIt.ready({ trackingMode: 'adaptive' })
System requirements
Built for Modern React Native Projects
Expo Go is not supported. An Expo config plugin ships in a later release - until then, use the bare React Native CLI setup.
Developer documentation
Everything Developers Need to Get Started
Explore the integration guide for package installation, native configuration, permissions, tracking setup, API usage and troubleshooting.
View React Native DocumentationUse cases
Location Tracking for Cross Platform Applications
Built for teams shipping location-aware mobile products across iOS and Android with a React Native location tracking library.
Delivery and Logistics Apps
Track active deliveries, record completed routes, and trigger arrival updates across courier apps.
Field Workforce Applications
Support job site check-ins, route history, and location visibility for distributed field teams.
Fleet Tracking Apps
Monitor vehicle movement, trip distance, and geofence transitions from a single cross-platform codebase.
Fitness and Activity Apps
Capture outdoor workouts, plot route tracks, and measure odometer distance across sessions.
Location Based Applications
Use geofencing, live location updates, and native map components to power contextual mobile workflows.
FAQs
Frequently Asked Questions
Key details about React Native location tracking, New Architecture requirements, and Expo support.
More detail in the React Native developer guide.
Start Building with React Native Location Tracking
Explore Track SDK Hub and simplify the process of adding location tracking to your React Native application.
30 day free trial · Full SDK access