Skip to content

Shoplive Android SDK 3.0.3

Latest

Choose a tag to compare

@jerry-hansol jerry-hansol released this 16 Oct 11:32
a1c91b8

Shoplive Android SDK 3.0.3

No SDK sources — AAR / POM artifacts only.

What's changed

This release adds embedded picture-in-picture, a web page on the broadcast screen and ready-made presets, and fixes several viewing and broadcast problems.

Breaking

  • ShopliveConfiguration.appVersion is removed; the SDK reads the app version itself, so delete the argument.
  • Viewing and broadcasting now share one ShopliveError and error code set in the core package, so update your imports. NOT_INITIALIZED_CAMPAIGN_KEY is gone: a missing campaign key reports CAMPAIGN_NOT_FOUND.
  • ShopliveCouponResult and ShopliveCustomActionResult now default alertType to ALERT; pass null to keep following the web default.

Added

  • DEFAULT / PREVIEW presets on ShoplivePlayerConfiguration and ShoplivePlayOptions, and PipOptions.isDragOutToCloseEnabled (default true) to stop in-App PIP closing when dragged off screen; recompile code built against 3.0.2.
  • ShopliveStreamer.start accepts webPageUrl to add your own page beside the broadcast screen, and the web player's user-action logs reach your delegate as WebCommandReceived events named EVENT_LOG.

Changed

  • An embedded ShoplivePlayerView in in-App PIP now floats over the whole screen, and tapping it returns to the original spot.
  • After a broadcast error, Retry keeps your microphone mute, camera and zoom, and RTMP/SRT broadcasts reconnect automatically when the network returns.

Fixed

  • WebRTC live streams showing only the logo in apps with R8 enabled, a crash when ShoplivePlayerView was created from a Hilt fragment or themed context, a zoomed-in broadcast-end image, the share sheet opening in the wrong task after PIP to fullscreen, and a zoom flicker when switching cameras.

Notes

  • The separate WebRTC, RTMP, ExoPlayer and media3 artifacts are no longer published, and ExoPlayer 2 is no longer supported.

Gradle

maven {
    url = uri("https://sdk.shoplive.cloud/maven-repo")
}

// Declaring the entry points is enough — submodules resolve as POM transitive dependencies.
implementation("cloud.shoplive:shoplive-player-sdk:3.0.3")
implementation("cloud.shoplive:shoplive-streamer-sdk:3.0.3")

Requirements

Minimum Android API 23
compileSdk 36
Kotlin 1.9.25
Distribution Maven repository (Gradle)

Artifacts

Every .aar and .pom ships with a .sha256 companion — the same value that is
published to the Maven repository, so integrity can be checked before use.

  • cloud.shoplive:shoplive-android-webrtc:3.0.3
  • cloud.shoplive:shoplive-core:3.0.3
  • cloud.shoplive:shoplive-player-sdk:3.0.3
  • cloud.shoplive:shoplive-rootencoder:3.0.3
  • cloud.shoplive:shoplive-streamer-sdk:3.0.3

Build provenance

  • Source: matrix-sdk-android@838a2ae2a2a5d9d6e9747ffa7572e95fe250aeb9
  • Line: international
  • Tag: 3.0.3