# SDKs for the AI waiter

> Tamr's AI waiter SDKs for the web, React Native and Expo, Flutter, iOS (Swift) and Android (Kotlin): packages, platform floors and the shape they share.

Source: https://tamr.link/docs/sdks

Five SDKs show the same hosted waiter page and share one shape: the same method names, the same events and the same answers, written the way each platform writes them. Each one's README on its registry is the full reference for that platform.

| Platform | Package | Install | Runs on |
| --- | --- | --- | --- |
| [Web](https://tamr.link/docs/sdks/web) | `@tamr/waiter-web` on npm, or a script tag | `npm install @tamr/waiter-web` | Safari and iOS 16.4+, Chrome and Edge 111+, Firefox 114+, Samsung Internet 22+ |
| [React Native and Expo](https://tamr.link/docs/sdks/react-native) | `@tamr/waiter-react-native` on npm | `npx expo install @tamr/waiter-react-native react-native-webview` | React Native 0.76+ (Expo SDK 52+), `react-native-webview` 13.12 to 14.x |
| [Flutter](https://tamr.link/docs/sdks/flutter) | `tamr_waiter` on pub.dev | `flutter pub add tamr_waiter` | Flutter 3.38.6+, iOS 16+, Android API 26+, Android Gradle Plugin 8.x |
| [iOS (Swift)](https://tamr.link/docs/sdks/ios) | `TamrWaiter`, Swift Package Manager | `https://github.com/abiroot/tamr-waiter-ios` | iOS 16+, Xcode 16+ (Swift 6), no dependencies |
| [Android (Kotlin)](https://tamr.link/docs/sdks/android) | `link.tamr:waiter-android` and `link.tamr:waiter-android-compose` on Maven Central | `implementation("link.tamr:waiter-android:1.2.0")` | minSdk 26, compileSdk 35+, Android Gradle Plugin 8.6+, Kotlin 2.1+ |

Each SDK page shows its latest release, read live from the release index.

## The shape they share

| What | Web, React Native | Flutter | iOS | Android |
| --- | --- | --- | --- | --- |
| The chat | `createWaiter({ key, restaurant })` | `TamrWaiterController(appKey:, restaurant:)` | `TamrWaiterController(appKey:restaurant:)` | `TamrWaiterController(context, appKey, restaurant)` |
| A signed-in diner | `{ token }` | `TamrToken(token)` | `.token(token)` | `TamrIdentity.token(token)` |
| A launch code | `{ code }` | `TamrLaunchCode(code)` | `.code(code)` | `TamrIdentity.code(code)` |
| No one | `null` | `null` | `nil` | `null` |
| Send a message, start afresh | `chat.send`, `chat.new` | `sendMessage`, `newChat` | `sendMessage`, `newChat` | `sendMessage`, `newChat` |

Every SDK also has `preload`, `setIdentityProvider`, `onCartAdd`, `onCartUpdate`, `onCartRemove`, `on(type, listener)`, the setters (`setLocale`, `setAppearance`, `setText`, `setTheme`, `setContext`, `setStarters`, `setRestrictions`), `sendCart` and `clearIdentity`. A setter's value is kept and sent again whenever the page reloads, so set it once.

## Every platform

- [Events your app hears](https://tamr.link/docs/sdks/events): What the page tells your app, and when.
- [Look, wording and language](https://tamr.link/docs/sdks/appearance): Colours, fonts, words and starters at runtime.

## Versions

Every SDK follows semantic versioning: a minor version only adds. The methods tables on each page say which version added each method. The look options added in 1.2.0 (React Native 1.3.0) need that version or later: an older SDK has no fields for them. See the [Changelog](https://tamr.link/docs/changelog) and the [Support policy](https://tamr.link/docs/support-policy).
