Trckr Swift
iOS Location-tracking framework.
Installation
with Cocoapods:
pod Trckr
Manually
- Download the Trckr.framework and drop it in your Xcode project
- Drag/drop Trckr.framework into Project > Embedded Binaries section
- In your project settings, add the folder in which Trckr.framework is located to Framework Search Paths.
Sample App
BackgroundTracker is a sample app using Trckr.framework
Usage
// start Trckr
Trckr.shared.trackingEnabled = true
// stop Trckr
Trckr.shared.trackingEnabled = false
Features
- Tracks the user’s location from start to stop.
- Supports background operation on mobile devices (requires
always
location permission on iOS). - Uses significant location monitoring and geofencing to reduce power consumption on the mobile device when the user is stationary.
- Supports beacon region monitoring for IoT e.g. vehicle detection.
- simple to set up and configure to your specific use cases.
Trckr provides precision, power efficient location tracking in native Swift/Java and is the result of thousands of hours of field tests which yield unparalleled accuracy and reliability in continuous location tracking on iOS and Android.
What’s it for?
- Mileage tracking
- Fleet management
- Logistics & mobile workforce
- Delivery tracking
- Ride share analytics
- Family / child safety
- Car Lease / Rental companies
- Intelligent transportation systems (ITS)
- Traffic monitoring
Classes
Trckr
- the main module handles continuous location tracking. Auto-start it when the user moves, auto-stop when the user becomes stationary. This module provides several configuration props and reports toTrckrDelegate
.Geofence
- handles region monitoring by auto-settingEXIT
geofence triggers when the user stops moving. This module plays a critical role in resuming location tracking and saving power while the user is stationary. Again,TrckrDelegate
is notified on key events.Beacon
- object/region detection using iBeacon. Configurable beacon UUID, major and minor. Notifies your app when on beacon region exit/entry events.
Apps powered by Trckr
Psngr - Mileage Tracker
Psngr app logs your trips and tracks mileage expenses for tax-deduction or reimbursement.
Trckr enables Psngr’s location tracking capabilities, as well as assists in vehicle detection with iBeacon. Psngr quantifies mileage using standard mileage rates in 15+ countries.
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Contact the Author
- Need more info?
- Need customization?
- Would like to contribute?