SDK Configuration (iOS)

The first step is to configure the iOS SDK.

Set Tracking in AppState

Roam.setTrackingInAppState(STATE)

Offline Location Tracking

Roam.offlineLocationTracking(Bool)

Accuracy Engine

For enabling accuracy engine for Passive, Active, and Balanced tracking,

Roam.enableAccuracyEngine()

For Custom tracking modes, you can pass the desired accuracy values in integers ranging from 1-150m.

Roam.enableAccuracyEngine("DESIRED-ACCURACY-VALUE")

For disabling accuracy engine,

Roam.disableAccuracyEngine()

Last updated