Repository navigation
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.appVersionis removed; the SDK reads the app version itself, so delete the argument.- Viewing and broadcasting now share one
ShopliveErrorand error code set in the core package, so update your imports.NOT_INITIALIZED_CAMPAIGN_KEYis gone: a missing campaign key reportsCAMPAIGN_NOT_FOUND. ShopliveCouponResultandShopliveCustomActionResultnow defaultalertTypetoALERT; passnullto keep following the web default.
Added
DEFAULT/PREVIEWpresets onShoplivePlayerConfigurationandShoplivePlayOptions, andPipOptions.isDragOutToCloseEnabled(defaulttrue) to stop in-App PIP closing when dragged off screen; recompile code built against 3.0.2.ShopliveStreamer.startacceptswebPageUrlto add your own page beside the broadcast screen, and the web player's user-action logs reach your delegate asWebCommandReceivedevents namedEVENT_LOG.
Changed
- An embedded
ShoplivePlayerViewin 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
ShoplivePlayerViewwas 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.3cloud.shoplive:shoplive-core:3.0.3cloud.shoplive:shoplive-player-sdk:3.0.3cloud.shoplive:shoplive-rootencoder:3.0.3cloud.shoplive:shoplive-streamer-sdk:3.0.3
Build provenance
- Source:
matrix-sdk-android@838a2ae2a2a5d9d6e9747ffa7572e95fe250aeb9 - Line:
international - Tag:
3.0.3