Trên GitHub, chatwoot/chatwoot-flutter-sdk đã đạt 88 sao, ngôn ngữ Dart. Chatwoot Flutter SDK
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Dart 3.9 or newer and Flutter 3.35 or newer for consumers. The minimum-consumer
check resolves without overrides and covers the public API and Hive upgrade.
SDK development, generation and the checked-in lockfiles use Flutter 3.44.8.
Android API 23 or newer, or the minimum required by your Flutter version,
whichever is higher. Build with Java 17.
iOS 13 or the higher minimum required by your Flutter version or Xcode SDK.
Set the deployment target in your Podfile and Xcode project. For example,
Xcode 27 requires iOS 15 targets; this does not validate iOS 13 behavior.
Migrating from 0.0.8
The official package is chatwoot_client_sdk, published by chatwoot.com.
If you used a Git revision named chatwoot_sdk, update its dependency key and
imports to chatwoot_client_sdk. Use the entry point
package:chatwoot_client_sdk/chatwoot_client_sdk.dart.
Version 0.1.0 uses InAppWebView for the website widget's native file picker.
If you used ChatwootWidget from an earlier Git revision, remove its
onAttachFile argument. Apply the Android FileProvider and iOS permission
settings below. File selection is handled by the native WebView.
The deprecated ChatwootChat, ChatwootChatDialog, ChatwootChatTheme, and
ChatwootL10n classes have been removed. Use ChatwootWidget for the website
channel, or build a custom UI around ChatwootClient for an API channel.
Hive has been replaced by Hive CE. The SDK keeps the existing box names and
adapter IDs; test upgrades with existing persisted conversations. Android
secure storage 10 migrates the previous encrypted preferences automatically
by default. Do not clear existing app storage as part of an upgrade.
Integrate Chatwoot flutter client into your flutter app and talk to your visitors in real time. Chatwoot helps you to chat with your visitors and provide exceptional support in real time. To use Chatwoot in your flutter app, follow the steps described below.
1. Add the package to your project
Run the command below in your terminal
flutter pub add chatwoot_client_sdk
or
Add
chatwoot_client_sdk:<<version>>
to your project's pubspec.yml file. You can check here for the latest version.
2. How to use
a. Using ChatwootWidget
Create a website channel in chatwoot server by following the steps described here https://www.chatwoot.com/docs/channels/website
To better support file attachments, for android define a FileProvider in AndroidManifest.xml under the <application> tag. Replace ${applicationId} with your application id
For iOS declare Usage Description Keys in Info.plist. Add:
<key>NSCameraUsageDescription</key>
<string>This app requires camera access to upload photos.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to your photo library to upload files.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access for recording audio.</string>
Horray! You're done.
Available Parameters
Name
Default
Type
Description
websiteToken
-
String
Website inbox channel token
baseUrl
-
String
Installation url for chatwoot
user
-
ChatwootUser
User information about the user like email, username and avatar_url
locale
en
String
User locale
closeWidget
-
void Function()
widget close event
customAttributes
-
dynamic
Additional information about the customer
onLoadStarted
-
void Function()
Widget load start event
onLoadProgress
-
void Function(int)
Widget Load progress event
onLoadCompleted
-
void Function()
Widget Load completed event
b. Using Chatwoot Client
Create an Api inbox in Chatwoot. Refer to Create API Channel document.
Create your own customized chat ui and use ChatwootClient to load and sendMessages. Messaging events like onMessageSent and onMessageReceived will be triggered on ChatwootCallback argument passed when creating the client instance.
NB: This chatwoot client uses Hive for local storage.
Enables persistence of chatwoot client instance's contact, conversation and messages to disk for convenience. true - persists chatwoot client instance's data(contact, conversation and messages) to disk. To clear persisted data call ChatwootClient.clearData or ChatwootClient.clearAllData false - holds chatwoot client instance's data in memory and is cleared as soon as chatwoot client instance is disposed Setting
user
null
ChatwootUser
Custom user details to be attached to chatwoot contact
chatwoot/chatwoot-flutter-sdk có 88 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/chatwoot/chatwoot-flutter-sdk. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
chatwoot/chatwoot-flutter-sdk có phải mã nguồn mở không?
Có — chatwoot/chatwoot-flutter-sdk phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/chatwoot/chatwoot-flutter-sdk.
chatwoot/chatwoot-flutter-sdk còn đang phát triển không?
Commit gần nhất trên chatwoot/chatwoot-flutter-sdk là 19 ngày trước (theo timestamp GitHub). Repo có 167 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
chatwoot/chatwoot-flutter-sdk dùng license gì?
chatwoot/chatwoot-flutter-sdk phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
chatwoot/chatwoot-flutter-sdk là gì?
chatwoot/chatwoot-flutter-sdk (chatwoot/chatwoot-flutter-sdk) là dự án Dart trên GitHub. Theo mô tả gốc: Chatwoot Flutter SDK
chatwoot/chatwoot-flutter-sdk viết bằng ngôn ngữ gì?
chatwoot/chatwoot-flutter-sdk chủ yếu viết bằng Dart. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về chatwoot/chatwoot-flutter-sdk ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/chatwoot/chatwoot-flutter-sdk là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về chatwoot-flutter-sdk?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về chatwoot-flutter-sdk.