Platform | Version |
Flutter | 2.2.0 or later |
Android | Android Studio 3.5 or later; devices with Android 4.1 or later for apps |
iOS | Xcode 11.0 or later. For testing with a real device, ensure that your project has a valid developer signature. |
Platform | Support or Not |
iOS | Supported |
Android | Supported |
Web | Supported from v4.1.1+2 |
macOS | Supported from v4.1.9 |
Windows | Supported from v4.1.9 |
Hybrid development (Adding SDK for Flutter to existing native applications) | Supported from v5.0.0 |
Mobile App | Web - HTML5 |
iOS/Android app ![]() | Scan the QR code with your mobile phone to try out ![]() |
pubspec.yaml
.flutter pub add
flutter pub add tencent_cloud_chat_sdk
pubspec.yaml
dependencies:tencent_cloud_chat_sdk: "Latest version" // You can check the latest version of the Chat SDK for Flutter on https://pub.dev/packages/tencent_cloud_chat_sdk
flutter pub get
. If not, enter the command flutter pub get
.flutter create .
in the root directory of the project to add web support.web/
directory of your project and use npm or Yarn to install related JS dependencies. To initialize the project, follow the on-screen instructions.cd webnpm initnpm i tim-js-sdknpm i tim-upload-plugin
web/index.html
and import the JS files in <head> </head>
. See below:<script src="./node_modules/tim-upload-plugin/index.js"></script><script src="./node_modules/tim-js-sdk/tim-js-friendship.js"></script>
flutter pub get/add
fails?
Was this page helpful?