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.

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.

PlatformPackageInstallRuns on
Web@tamr/waiter-web on npm, or a script tagnpm install @tamr/waiter-webSafari and iOS 16.4+, Chrome and Edge 111+, Firefox 114+, Samsung Internet 22+
React Native and Expo@tamr/waiter-react-native on npmnpx expo install @tamr/waiter-react-native react-native-webviewReact Native 0.76+ (Expo SDK 52+), react-native-webview 13.12 to 14.x
Fluttertamr_waiter on pub.devflutter pub add tamr_waiterFlutter 3.38.6+, iOS 16+, Android API 26+, Android Gradle Plugin 8.x
iOS (Swift)TamrWaiter, Swift Package Managerhttps://github.com/abiroot/tamr-waiter-iosiOS 16+, Xcode 16+ (Swift 6), no dependencies
Android (Kotlin)link.tamr:waiter-android and link.tamr:waiter-android-compose on Maven Centralimplementation("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

WhatWeb, React NativeFlutteriOSAndroid
The chatcreateWaiter({ 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 onenullnullnilnull
Send a message, start afreshchat.send, chat.newsendMessage, newChatsendMessage, newChatsendMessage, 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

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 and the Support policy.