Building Custom Widget UI

📘

Minimum SDK Version

iOS: 2.11
Android: 2.8
Web: 2.0.0

Although the EngagementSDK offers high-fidelity widget UI which provide engaging experiences for your users, you may want to implement you own UI to match your applications particular use-case or aesthetic. We provide methods for you to go above and beyond small cosmetic changes possible with the Theme system and fundamentally change how user's will engage with a widget.

Its as easy as

  1. Build your Widget UI
  2. Access the Widget data
  3. Connecting your UI to the Widget Data

Platform Docs
iOS
Android
Web

Sample Application
Android

Accessing Widget Data

There are 3 channels in which Widget data can be accessed. Choose the one that best fits your use-case.

  1. Realtime Widgets - The widgets that are published by a Producer
  2. On Demand By ID - Load a widget from the server by it's id
  3. On Demand From History - Loads a page of widgets from the publish history

Building a Cheer Meter Widget

A Cheer Meter Widget is a fast-paced and high-action widget to allow fans to express their emotion.

Platform Docs
iOS Tutorial
Android
Web

Building an Alert Widget

An Alert Widget is an informational widget to share news, updates, and promotional content.

Platform Docs
iOS Tutorial
Android
Web

Building a Quiz Widget

A Quiz Widget is trivia type widget where user's can flex their knowledge! A user can only have one answer per Quiz.

Platform Docs
iOS API Reference
Android
Web

Building a Poll Widget

A Poll Widget is a widget where user's can share opinions and compare with other's.

Platform Docs
iOS API Reference
Android
Web

Building a Prediction

A Prediction is composed of two Widget types. The Prediction Widget itself and the Prediction Follow Up Widget.

Platform Docs
iOS Prediction API Reference
iOS Prediction Follow Up API Reference
Android
Web

Building a Text Ask Widget

Ask widget is basically used to collect audiences replies and feature the best one.

Platform Docs
iOS API Reference
Android
Web

Building a Number Prediction Widget

Number Prediction widgets allows your audience to make predictions as numbers so that you can ask about things like sports scores, player performance, number of seconds in a national anthem, etc.

Platform Docs
Android
[Web] (https://docs.livelike.com/docs/custom-widget-examples#number-prediction-widget)