<exclude domain="file" path="trevosdk/" />
``` See [Mobile experiments](/concepts/mobile-experiments)
for how experiments ramp on mobile, how the SDK survives a lost network, and the App Store and
Google Play answers.
## Options
| Option | Default | Notes |
| --- | --- | --- |
| `apiKey` | | Required. A Mobile key, `tsk_live_…` |
| `appVersion` | | Required, may be null. Sent on every event; compared with `minAppVersion` |
| `bootstrapConfig` | `[]` | Assign before storage and the network answer |
| `pollInterval` | 5 minutes | Config is also refreshed on every foreground |
| `flushInterval` | 15 seconds | Also flushes when the app moves to the background |
| `maxBatchSize` | 50 | Capped at 500 by the server |
| `configUrl`, `ingestionUrl` | Trevo | Endpoint overrides for proxied installs |
| `storage`, `transport`, `lifecycle` | Files, `dart:io`, Flutter lifecycle | Replace for tests or your own stack |
| `onError` | `debugPrint` | Background failures; the SDK never throws |
## Correctness
The package runs the shared conformance vectors in CI, so a change that would assign a user
differently from the web fails the build. The rules are in the
[bucketing spec](/reference/bucketing-spec).