transistorsoft/native-background-geolocation


Advanced Background Geolocation & Geofencing SDK for iOS & Android

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.transistorsoft:background-geolocation-lt:1.4.0'
	}
	dependencies {
		implementation("com.github.transistorsoft:background-geolocation-lt:1.4.0")
	}
	<dependency>
	    <groupId>com.github.transistorsoft</groupId>
	    <artifactId>background-geolocation-lt</artifactId>
	    <version>1.4.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.transistorsoft" % "background-geolocation-lt" % "1.4.0"
        
        

                            
    :dependencies [[com.github.transistorsoft/background-geolocation-lt "1.4.0"]]
        
        

Readme


<p align="center"> <img src="https://raw.githubusercontent.com/transistorsoft/assets/master/images/logos/transistor/transistor-logo-panel-all.svg" alt="Background Geolocation SDK" width="635"> </p>

Background Geolocation SDK — iOS & Android

The most sophisticated background location-tracking & geofencing SDK with battery-conscious motion-detection intelligence for iOS and Android.

The SDK uses motion-detection APIs (accelerometer, gyroscope, magnetometer) to detect when the device is moving or stationary:

  • Moving — location recording starts automatically at the configured distanceFilter (metres)
  • Stationary — location services turn off automatically to conserve battery

:books: Documentation

<img src="assets/images/platforms/swift.svg" width="20" height="20"> Swift

<img src="assets/images/platforms/kotlin.svg" width="20" height="20"> Kotlin


:open_file_folder: Example Apps

See /example — example apps are included in this repo.


:key: Licensing

[!TIP] The SDK is fully functional in DEBUG builds — no license required. Try before you buy.

A license is required for App Store (iOS) and Release (Android) builds. Purchase a license


📦 SDK availability

<img src="https://raw.githubusercontent.com/transistorsoft/assets/master/images/logos/transistor/transistor-logo-panel-all.svg" width="300">

| Platform | Package | |---|---| | <img src="assets/images/platforms/swift.svg" width="16" height="16"> Swift / iOS | This repo | | <img src="assets/images/platforms/kotlin.svg" width="16" height="16"> Kotlin / Android | This repo | | <img src="assets/images/platforms/react-native.svg" width="16" height="16"> React Native | react-native-background-geolocation | | <img src="assets/images/platforms/expo.svg" width="16" height="16"> Expo | react-native-background-geolocation | | <img src="assets/images/platforms/flutter.svg" width="16" height="16"> Flutter | flutter_background_geolocation | | <img src="assets/images/platforms/capacitor.svg" width="16" height="16"> Capacitor | @transistorsoft/capacitor-background-geolocation | | <img src="assets/images/platforms/cordova.svg" width="16" height="16"> Cordova | cordova-background-geolocation-lt |


MIT © Transistor Software