Skip to content

Native SDK

Native Background Geolocation SDK

Use the Background Geolocation SDK natively in your iOS (Swift) and Android (Kotlin) apps. Both languages share the same core — TSLocationManager — so the algorithms, configuration model, and behavior are identical across platforms.

Choose your language

What you get

  • Motion-detection state machine — accelerometer/gyro/magnetometer-driven; activates GPS only when the device moves
  • Survives termination & rebootstopOnTerminate: false + startOnBoot: true everywhere
  • SQLite persist-first HTTP queue — durable retry with exponential back-off; works offline indefinitely
  • Unlimited geofencing — paginates past OS limits (~20 iOS / ~100 Android)
  • Identical API surface on iOS and Android — same config keys, same events, same algorithms

Installation

Platform Manager Repository
iOS (Swift) Swift Package Manager transistorsoft/native-background-geolocation
iOS (Swift) CocoaPods pod 'TSLocationManager'
Android (Kotlin) Gradle / Maven Central com.transistorsoft:tslocationmanager:+

Detailed setup instructions live in each language section — see Swift Setup or Kotlin Setup.

License

A single license unlocks both iOS and Android keys for one app identifier. Purchase at shop.transistorsoft.com — generate one key bound to your iOS bundleIdentifier and one bound to your Android applicationId from the Customer Dashboard.

Purchase a license