live_uikit_gift 1.0.0 copy "live_uikit_gift: ^1.0.0" to clipboard
live_uikit_gift: ^1.0.0 copied to clipboard

live uikit gift component

Live UIKit Gift #

English | 简体中文

Live UIKit Gift is the gift component of [Interactive Live Streaming (tencent_live_uikit)](https://pub-web.flutter-io.cn/packages/tencent_live_uikit). By integrating this component, you can add interactive gift features to your live streaming with just a few lines of code.

Features #

  • Supports sending and displaying bullet animations.
  • Supports sending and displaying full-screen animations.
  • Supports likes.

Environment Preparation #

Flutter #

  • Flutter 3.27.4 or higher.
  • Dart 3.6.2 or higher.

Android #

  • Android Studio 3.5 or higher.
  • Android devices with Android 5.0 or higher.

iOS #

  • Xcode 15.0 or higher.
  • Ensure your project has a valid developer signature.

Getting Started #

Add Dependency #

Follow the documentation to add the live_uikit_gift package as a pubspec dependency.

Activate Service #

To use the gift feature of interactive live streaming, you need to ensure that the service is activated.

  1. Activate the Service
    You can activate the service and obtain SDKAppID and SDKSecretKey in the Console.

  2. Configure SDKAppID and SDKSecretKey
    Open the example/lib/debug/generate_test_user_sig.dart file and fill in the obtained SDKAppID and SDKSecretKey:

    static int sdkAppId = 0; // Replace with your SDKAppID
    static String secretKey = ''; // Replace with your SDKSecretKey
    
    copied to clipboard

Example Experience #

If you want to quickly integrate or experience the interactive gift effects, you can refer to the example code to integrate it into your application, or directly run the example program for a hands-on experience.

If you want to quickly integrate interactive live streaming features into your application, you can integrate the Interactive Live Streaming (tencent_live_uikit) component.

Feedback and Support #

If you have any needs or feedback, feel free to contact us at: info_rtc@tencent.com.