Skip to main content

Bambuser Social Commerce SDK Android

Overview

BambuserCommerceSDK is a lightweight SDK for integrating Bambuser video player and commerce experience into your android applications in order to enhance your app with interactive video commerce features that streamline the video shopping experience.


Requirements

This SDK targets Android 35, and the minimal support API is 26 (Android 8+) This SDK uses Compose BOM version 2025.02.00



Installation

First, add a new maven repository to your dependency resolution management:

repositories {
google()
mavenCentral()
// other repositories you might have...

maven {
url "https://repo.repsy.io/mvn/bambuser/bambuser-commerce-sdk"
}
}

Then add the dependency into your app/build.gradle:

implementation("com.bambuser:commerce-sdk:$insert the latest version")

Architecture

img

Bambuser Live SDK creates a native video player to display the live content and all the other shoppable elements are been overlayed by the webview. In this way we can get a seamless video streaming and picture in picture, with all the interactive elements.

Setup

You need to initialize the SDK before using it. In your Application class, you can create multiple instances of the BambuserSDK:

globalBambuserSDK = BambuserSDK(
applicationContext = this,
organizationServer = OrganizationServer.US,
)

euBambuserSDK = BambuserSDK(
applicationContext = this,
organizationServer = OrganizationServer.EU,
)

Play show

You need to use the SDK instance to create a new Live view sdkInstance.GetLiveView This function would require two mandatory parameters:

  • videoConfiguration - This is the configuration for the video player.
  • videoPlayerDelegate - This is the delegate to receive events and errors.

For more details check our documentation and checkout our demo app from our Github Repo.

Conversion Tracking

Bambuser Conversion Tracking for Live Video Shopping gives you the most value out of your Live Shopping performance statistics. The Bambuser Conversion tracker enables merchants to attribute the relevant conversions to the LiveShopping shows. The number of attributed sales will be available on the stats page of each show.

With the SDK you can track conversions within the BambuserCommerceSDK, use the track function to transmits necessary data sets to Bambuser Analytics. please refer to our Github Repo for additional infomation.

Configuration and Functions:

To find the detailed configuration and functions please refer to Bambuser Player API Reference