2017-09-07
The new geofence API allows the user to set-up free form polygonal geofences in indoor or outdoor spaces, which will trigger callbacks when the user enters or exits the region specified by the geofence borders. For information on how to register geofences, check the API documentation for Android and iOS.
In cases where it is enough to know the approximate whereabouts of the user (say, room-level accuracy), the new low-power position mode comes handy. The low-power mode uses less resources and leans on ambient radios; it fuses Wi-Fi, beacons, and platform-provided locations. The offered accuracy depends on the radio environment. The low-power positioning mode is completely orientation-invariant (supports bag and pocket use-cases) and ideal for background use.
On Android low-power mode is used by specifying the priority
for IALocationRequest
when requesting location updates. Power usage can be controlled efficiently by using low-power mode with fastest interval
in the IALocationRequest
.
On iOS the low-power mode benefits from connecting to Wi-Fi and having ambient beacons available in the venue. On iOS the low-power mode can be activated by specifying the desiredAccuracy
of the IndoorAtlas location manager to be kIALocationAccuracyLow
.
repositories {
maven {
url "http://indooratlas-ltd.bintray.com/mvn-public"
}
}
compile 'com.indooratlas.android:indooratlas-android-sdk:2.5.3’
Download link https://indooratlas-ltd.bintray.com/indooratlas-ios-sdk/5a31fce5ac9825c2-indooratlas-ios-sdk-2.5.3-84.zip
We recommend using the iOS SDK through CocoaPods. Add the IndoorAtlas pod to you Podfile and dependencies will be sorted out automatically.
use_frameworks!
platform :ios, '8.0'
pod 'IndoorAtlas', '~> 2.5.3'