configure

fun configure(context: Context, kitId: String, apiToken: String)

Configure and initialize the tableside module.

The Tableside SDK must be initialized when the application starts in order to configure the kitId and apiToken and handle appropriate lifecycle methods. Note that the app authorization token for Tableside is not the same token as the other Flybuy SDK modules.

The Tableside SDK is currently independent of the rest of the Flybuy SDK in order to support legacy Tableside installations. It needs to be initialized with its own app authorization token as follows.

Flybuy needs to be setup and configured at application launch. However, it does not run in the background or use device resources until there is an active locator.

Example:

class MyApplication : Application() {

override fun onCreate() {
super.onCreate()
TablesideManager.getInstance().configure(this, kitId, apiToken)
}

}