diff --git a/sdk/remote-configuration.mdx b/sdk/remote-configuration.mdx index 0789fc6..e674a1c 100644 --- a/sdk/remote-configuration.mdx +++ b/sdk/remote-configuration.mdx @@ -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 } ``` @@ -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 } ``` diff --git a/sdk/tracking.mdx b/sdk/tracking.mdx index 8600c7a..2f45b76 100644 --- a/sdk/tracking.mdx +++ b/sdk/tracking.mdx @@ -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 @@ -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