Skip to main content

shoplive_core 3.0.2 copy "shoplive_core: ^3.0.2" to clipboard
shoplive_core: ^3.0.2 copied to clipboard

Shoplive core plugin for Flutter (initialize, user, conversion) on Shoplive SDK 3.x. To use Shoplive, please contact ask@shoplive.cloud.

3.0.2 #

  • Declares androidx.constraintlayout:constraintlayout:2.2.1. The SDK pulls 2.0.1 through material:1.9.0, whose solver throws ClassCastException during the in-app PIP transition; Gradle now resolves the fixed version.

First release of shoplive_core, built on Shoplive Android SDK 3.0.2 (cloud.shoplive:shoplive-core:3.0.2).

BREAKING (from shoplive_player 1.x) #

  • Replaces 1.x ShopLiveCommon (setAccessKey, setAuth, setAuthToken, setUser, setUtm*, clearAuth) with Shoplive.initialize, setUser, setStreamToken, logout, sendConversionEvent and getSdkVersion.
  • Every method returns a Future and throws PlatformException (INVALID_ARGUMENT, SDK_ERROR).
  • Required strings (accessKey, profile id, jwt, stream token) must not be blank. Profile id is now required.

Known limitations #

  • The bridge does not guard repeated initialize calls (hot restart, multiple engines); the SDK decides what happens.

Requirements #

  • Flutter 3.22 / Dart 3.4 or later.
  • Android: AGP 8.7, Gradle 8.9, JDK 17, minSdk 23, compileSdk 36.
  • Android SDK artifacts come from https://sdk.shoplive.cloud/maven-repo. The cloud.shoplive group is restricted to that repository with exclusiveContent, because Maven Central hosts a conflicting shoplive-media3:1.10.1.2. See README.
  • iOS 15.0 (Shoplive iOS SDK 3.0.2, XCFrameworks downloaded and sha256-verified during pod install - see README "iOS setup"). Set platform :ios, '15.0' in your Podfile. When you run pod install manually, use a UTF-8 locale.
  • Upgrading from 1.x: run flutter clean once; stale 1.x iOS build products otherwise fail with "'ShoplivePlayerPlugin' has different definitions in different modules".
0
likes
140
points
97
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shoplive core plugin for Flutter (initialize, user, conversion) on Shoplive SDK 3.x. To use Shoplive, please contact ask@shoplive.cloud.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on shoplive_core

Packages that implement shoplive_core