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
IALocationRequest when requesting location updates. Power usage can be controlled efficiently by using low-power mode with
fastest interval in the
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
We recommend using the iOS SDK through CocoaPods. Add the IndoorAtlas pod to you Podfile and dependencies will be sorted out automatically.
platform :ios, '8.0'
pod 'IndoorAtlas', '~> 2.5.3'