An open API service indexing awesome lists of open source software.

https://github.com/twyla-ai/widget-sample-android

Sample for embedding Twyla Widget in an Android app
https://github.com/twyla-ai/widget-sample-android

android chatbot widget

Last synced: about 2 months ago
JSON representation

Sample for embedding Twyla Widget in an Android app

Awesome Lists containing this project

README

          

# Widget Android Embed Sample

A sample Android project showcasing how to embed Twyla Widget in an activity:



## Getting Started
1. Grab the widget configuration from Twyla Canvas Widget configurator (Project settings -> Twyla Web Widget -> Generate Snippet).
2. Add the embed attribute `data-embed-mode="true"` to the script. It should look something like:
```html

```
3. Import the Project in Android Studio.
4. In `assets/index.html`, replace the script with the one from step #2.
5. Run the project