Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions sdk/remote-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ Custom configurations should declare all tracking options in JSON. Example custo
"syncGeofences": true,
"useVisits": true,
"useSignificantLocationChanges": true,
"beacons": false
"beacons": false,
"batchSize": 0,
"batchInterval": 0
}
```

Expand All @@ -70,7 +72,9 @@ Custom configurations should declare all tracking options in JSON. Example custo
"syncGeofences": true,
"syncGeofencesLimit": 10,
"beacons": true,
"foregroundServiceEnabled": false
"foregroundServiceEnabled": false,
"batchSize": 0,
"batchInterval": 0
}
```

Expand Down
4 changes: 4 additions & 0 deletions sdk/tracking.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ The SDK has two states: **stopped** and **moving**. After a location update is m
- **`useVisits`**: Determines whether to use the [iOS visit monitoring service](https://developer.apple.com/documentation/corelocation/clvisit). Defaults to `false`.
- **`useSignificantLocationChanges`**: Determines whether to use the [iOS significant location change service](https://developer.apple.com/documentation/corelocation/cllocationmanager/1423531-startmonitoringsignificantlocati?language=objc). Defaults to `false`.
- **`beacons`**: Determines whether to monitor beacons. Defaults to `false`.
- **`batchSize`**: Determines the number of events in each batch. Maximum size is 120 events.
- **`batchInterval`**: Determines the time interval, in seconds, between batch events.

### iOS presets

Expand Down Expand Up @@ -120,6 +122,8 @@ The SDK has two states: **stopped** and **moving**. After a location update is m
- **`foregroundService`**: If set, starts a [foreground service](https://developer.android.com/guide/components/foreground-services) and shows a notification during tracking. Deprecated in Android SDK [3.4.1](https://github.com/radarlabs/radar-sdk-android/blob/master/MIGRATION.md#33x-to-34x).
- **`foregroundServiceEnabled`**: If set, starts a [foreground service](https://developer.android.com/guide/components/foreground-services) and shows a notification during tracking. Defaults to `false`.
- **`beacons`**: Determines whether to monitor beacons. Defaults to `false`.
- **`batchSize`**: Determines the number of events in each batch. Maximum size is 120 events.
- **`batchInterval`**: Determines the time interval between batch events.

### Android foreground service options

Expand Down