feat: Migrated to Flutter 3.13.0 with our version of 2.3.0
This commit is contained in:
parent
8310e521f8
commit
33a5951c3f
182
CHANGELOG.md
182
CHANGELOG.md
|
|
@ -1,26 +1,36 @@
|
|||
## 2.2.1
|
||||
# 2.3.0
|
||||
|
||||
### New Features
|
||||
## Breaking Changes
|
||||
|
||||
* Upgraded and migrated to support Flutter 3.13.0. Support for Flutter 3.10 and earlier versions has been dropped.
|
||||
|
||||
## Recommendations
|
||||
|
||||
* Customers who do not wish to upgrade to Flutter 3.13.0 are advised to continue using version 2.2.1 of our Chat UIKit. However, we strongly recommend upgrading to Flutter 3.13.0 as it includes numerous performance improvements and introduces cutting-edge features.
|
||||
|
||||
# 2.2.1
|
||||
|
||||
## New Features
|
||||
|
||||
* Introduced a new `groupMemberList` configuration in `TUIKitChat`; when specified, TUIKit will not load it automatically, optimizing network traffic usage.
|
||||
* Added support for image copying on desktop platforms.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue preventing the removal of image loading status.
|
||||
* Resolved a problem that prevented images from being saved to the device gallery.
|
||||
* Addressed a potential issue causing the `mentionOtherMemberInGroup` function in `TIMUIKitChatController` to fail.
|
||||
* Corrected an issue that could lead to improper image rendering.
|
||||
|
||||
## 2.2.0
|
||||
# 2.2.0
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Introduced a newly-designed set of Emoji image stickers, available for seamless integration within textual content, providing an enhanced user experience.
|
||||
* Streamlined the implementation of stickers, removing the need for additional complex coding. Full functionality is enabled by default, with customization options available through the `stickerPanelConfig` configuration in `TIMUIKitChatConfig`.
|
||||
* Extended support for rendering embedded image stickers within text messages when the `Markdown` parsing mode is activated, combining a rich, user-friendly experience with the ability to display formatted Markdown text.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Enhanced group chat functionality on the Desktop, enabling mentions (`@` tag) to be inserted at any position within a composed message, rather than only at the end. Additionally, deleting `@` tags has been optimized.
|
||||
* Maintained message sending permissions for the group owner and administrators during "mute all" scenarios.
|
||||
|
|
@ -30,22 +40,22 @@
|
|||
* Implemented UIKit log recording to facilitate issue identification and troubleshooting.
|
||||
* Introduced a delete button for the small PNG sticker selection panel on mobile devices, which previously was only available in the Unicode emoji selection panel.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Resolved an issue preventing photo capturing on devices running Android 12 or lower.
|
||||
* Rectified display inaccuracies related to picture aspect ratios.
|
||||
* Addressed several issues concerning voice and video calls.
|
||||
|
||||
## 2.1.3+1
|
||||
# 2.1.3+1
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Introduced [a new custom internationalization language scheme](https://www.tencentcloud.com/document/product/1047/52154?from=pub) that supports adding language packs, adding or modifying entries, and makes customizing i18n more accessible. This feature helps your app achieve a more convenient globalization process and easier customer acquisition worldwide.
|
||||
* Provided a seamless experience for previewing large images and playing videos within desktop environments (applications and web) by avoiding frequent page transitions. Enhanced the user experience for image previews and video playback. Please note that video playback is currently supported only on the web and not in desktop applications.
|
||||
* Supported to integrate with the new online customer service plugin (tencent_cloud_chat_customer_service_plugin).
|
||||
* Added two new life cycle hooks, `messageDidSend` and `messageShouldMount` to `ChatLifeCycle`.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Optimized the usage, interface, and interaction of the sticker panel.
|
||||
* Enhanced mobile video playback interaction and UI.
|
||||
|
|
@ -55,21 +65,21 @@
|
|||
* Added the ability to open self-sent file messages without downloading.
|
||||
* Optimized the download status animation of file messages on the web.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue preventing mobile image previews from being dragged after zooming.
|
||||
* Resolved an issue that might cause the message selection status not to be removed after canceling a message forward action.
|
||||
* Addressed an issue that might cause the microphone usage not to end after sending a voice message, which means the microphone was not released.
|
||||
|
||||
## 2.1.2
|
||||
# 2.1.2
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Introduced a new message recall mode, which enables group administrators to recall any message from any group member. To enable this feature, set `isGroupAdminRecallEnabled` in `TIMUIKitChatConfig` to `true`.
|
||||
* Added support for draft text functionality on the Web. Activate this feature by setting `isUseDraftOnWeb` in `TIMUIKitChatConfig` to `true`. Since the Chat SDK doesn't support this functionality, draft data will be stored in TUIKit's memory. Be aware that draft text will be lost upon refreshing the website.
|
||||
* Enabled using the default message abstract text when `abstractMessageBuilder` returns `null`.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* The duration for video messages sent from the Web will no longer be displayed, as this type of video message does not contain an accurate video duration.
|
||||
* Removed the hover color on the message input area on Desktop.
|
||||
|
|
@ -78,7 +88,7 @@
|
|||
* Limited the number of lines displayed for replied messages to a maximum of 2 lines to avoid occupying excessive space.
|
||||
* Optimized the message replying process, ensuring that a message referencing another message can still display the replied message, even when it is too old.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue that could cause the profile page to display no data.
|
||||
* Fixed an issue that could prevent the message sending button from being displayed after selecting an emoji on mobile Web.
|
||||
|
|
@ -87,44 +97,44 @@
|
|||
* Fixed an issue that could prevent displaying the `Modal` on Desktop.
|
||||
* Fixed an issue that caused the `iconImageAsset` from the `MessageToolTipItem` class to not work properly.
|
||||
|
||||
## 2.1.0+2
|
||||
# 2.1.0+2
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Upgraded several dependencies to resolve conflicts with the Kotlin Gradle plugin.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue causing the message list to be displayed inaccurately when it contains a file without a suffix.
|
||||
|
||||
## 2.1.0+1
|
||||
# 2.1.0+1
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Removed `disk_space` dependency as many customers reported difficulty in obtaining this dependency successfully.
|
||||
* Replaced `fc_native_video_thumbnail_for_us` with its original version `fc_native_video_thumbnail`.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where `universal_html` could be blocking the compilation.
|
||||
|
||||
## 2.1.0
|
||||
# 2.1.0
|
||||
|
||||
### Breaking Changes
|
||||
## Breaking Changes
|
||||
|
||||
* Migrated to Flutter 3.10.0 and Dart 3.0.0, no longer supporting projects with Flutter < 3.10.0 and Dart < 3.0.0.
|
||||
* Updated the minimum requirement for Android AGP to 7.0, projects with AGP < 7.0 are no longer supported.
|
||||
|
||||
We highly recommend updating to these new versions for a better experience.
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Added several methods to `TIMUIKitChatController`, including `hideAllBottomPanelOnMobile`, `mentionOtherMemberInGroup`, `setInputTextField`, and `getGroupMemberList`. Please refer to the corresponding annotations for usage.
|
||||
* Added more parameter fields to the `TIMUIKitChatController`'s `sendMessage` method. For details, please refer to the corresponding annotations.
|
||||
* Added `onSecondaryTapAvatar` to `TIMUIKitChat`, serving as callback trigger for secondary avatar clicks in the message list.
|
||||
* Introduced `isUseMessageHoverBarOnDesktop` and `desktopMessageInputFieldLines` to `TIMUIKitChatConfig`. For usage details, please refer to the corresponding annotations.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Enhanced performance and user experience when switching conversations on Desktop, including features like text field auto-focus and draft text.
|
||||
* Enabled displaying correct new lines in markdown mode.
|
||||
|
|
@ -143,7 +153,7 @@ We highly recommend updating to these new versions for a better experience.
|
|||
* Previewing images and videos is set to open in a new tab on the Web.
|
||||
* Improved the ratio for sending video messages.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed issues when enabling the section function in markdown mode with `inEnableTextSelection` set to `true`.
|
||||
* Addressed an issue where the replied message was removed when selecting all text in the message and clicking backspace.
|
||||
|
|
@ -160,7 +170,7 @@ We highly recommend updating to these new versions for a better experience.
|
|||
* Fixed an issue that caused the `iconImageAsset` of the `MessageToolTipItem` config to head internally to this chat UIKit.
|
||||
* Improved the downloading process of media and files by avoiding frequent calls to `setState`, thus preventing the entire project from re-rendering.
|
||||
|
||||
## 2.0.0
|
||||
# 2.0.0
|
||||
|
||||
If you are upgrading from version 1.7.0, please refer to the changelog of all 2.0.0-preview versions, ranging from preview.1 to preview.7.
|
||||
|
||||
|
|
@ -168,7 +178,7 @@ The main feature of this new 2.0.0 version is Desktop Support. Tencent Cloud Cha
|
|||
|
||||
In addition, there are some significant changes compared to version 2.0.0-preview.7.
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Added drag and drop support for multiple files in `TIMUIKitChat`, allowing direct sending.
|
||||
* Introduced functionality to open files or their containing folder (using `Finder` on `macOS` or `Explorer` on `Windows`) for file messages via the message operation tooltip menu on desktop.
|
||||
|
|
@ -176,14 +186,14 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Added group joining application processing on Desktop.
|
||||
* Introduced `isAutoReportRead` to `TIMUIKitChatConfig` for controlling read status reporting.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Enhanced group members selection panel for mentioning someone in a group chat.
|
||||
* Refined image display ratio on Desktop.
|
||||
* The Reply or Quote button is now labeled as `Reply` when `isAtWhenReply` is set to true, and `Quote` otherwise.
|
||||
* @ member tags can now be deleted at once.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed UI layout issue causing the `translate` button to display on two lines.
|
||||
* Addressed an issue causing the mute status not to change when switching to another conversation.
|
||||
|
|
@ -195,14 +205,14 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Resolved an issue preventing images from being pasted and sent directly with Ctrl + V on Windows.
|
||||
* Fixed an issue causing errors in the muting members list.
|
||||
|
||||
## 2.0.0-preview.7
|
||||
# 2.0.0-preview.7
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Added `additionalMessageToolTips` to `ToolTipsConfig`. This new property allows developers to add additional message operation tooltip items, apart from the default ones. The previous `additionalItemBuilder` has been replaced by this new property. With `additionalMessageToolTips`, developers only need to specify the data for the tooltip items, rather than providing a whole widget. This makes usage easier, as you no longer need to worry about the UI display.
|
||||
* Added `isPreloadMessagesAfterInit` to `TIMUIKitConfig`, allows determines whether TUIKit should preload some messages after initialization for faster message display.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Message operation menu shows when long-pressing messages will not show if nothing operation item includes and do not use message sticker reaction module.
|
||||
* Renamed `desktopMessageHoverBar` to `additionalDesktopMessageHoverBarItem` in `TIMUIKitChatConfig` to control only the addition of extra operation items displayed on the hover bar of messages on desktop (macOS, Windows, and desktop version of Web), without affecting the default ones. Previously, it controlled the entire message hover bar, including covering the default items.
|
||||
|
|
@ -211,22 +221,22 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Added support for the new permission authorization schema on Android 13 and `targetSdkVersion` greater than 33.
|
||||
* Corrected the `textHight` to `textHeight` in `TIMUIKitChatConfig`, and modified the default value to 1.3.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where the `showVideoCall` and `showVoiceCall` configuration options were not working.
|
||||
* Fixed potential `Windows` platform deployment prohibition issue.
|
||||
* Fixed an issue that may cause `setLocalCustomData` to be triggered repeatedly.
|
||||
|
||||
## 2.0.0-preview.6
|
||||
# 2.0.0-preview.6
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Permission requests now feature a gray translucent overlay for secondary confirmations on first-time requests, which was reintroduced after being removed in version 2.0.0-preview.4. Additionally, the overlay can now be successfully hidden once the permission authorization is complete.".
|
||||
* Time Divider on Message List: The default 12-hour display has been changed to a 24-hour display.
|
||||
* Message translation now targets the language of TUIKit instead of relying on the system language directly. The language of TUIKit can be set as the system language automatically or defined by the user. For more information, please refer to this documentation: https://www.tencentcloud.com/document/product/1047/52154.
|
||||
* Optimized the animation for message text input area.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where the `Voice Call` and `Video Call` buttons were not working in group chat.
|
||||
* Fixed several null-safety issues.
|
||||
|
|
@ -235,13 +245,13 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Fixed an issue where stickers could not be clicked in some cases.
|
||||
* Resolved an overflow error that occurred when opening the sticker panel.
|
||||
|
||||
## 2.0.0-preview.5
|
||||
# 2.0.0-preview.5
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* New Chat Configuration: `isAllowLongPressAvatarToAt`. This option controls whether users are allowed to mention another user in the group by long-pressing on their avatar.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Improved tool bar configuration on desktop: The tool bar can now be customized using `desktopControlBarConfig` for embedded default items and `additionalDesktopControlBarItems` for additional tool items. These configurations come from TIMUIKitChatConfig.
|
||||
* Renamed the `wideMessageHoverBar` configuration option to `desktopMessageHoverBar` for better clarity.
|
||||
|
|
@ -249,7 +259,7 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Eliminated other six unnecessary dependency packages to reduce the size and improve performance.
|
||||
* Improved the clarity of the `sendMessage` function in `TIMUIKitChatController` by replacing the use of `convID` to represent both `userID` and `groupID` with separate parameters.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where the message operation menu may show inaccurately when the message is too long.
|
||||
* Fixed a problem where the message operation menu had the potential to be too wide for certain types of messages, causing display issues.
|
||||
|
|
@ -258,68 +268,68 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Fixed a bug where certain JSON decoding operations could potentially fail.
|
||||
* Fixed an issue with sound messages on iOS devices playing only through earpiece instead of speaker by default.
|
||||
|
||||
## 2.0.0-preview.4
|
||||
# 2.0.0-preview.4
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* New Chat Configuration: `TIMUIKitChatConfig` now includes `offlinePushInfo`, which allows for customization of the entire `offlinePushInfo` for each message. This field has a higher priority than the previous separate configuration fields for this object.
|
||||
* New Color Configuration: Added `appbarTextColor` and `appbarBgColor` to configure the color for the Appbar. Also added `selectPanelBgColor` and `selectPanelTextIconColor` to configure the color of the messages multi-select panel.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Improved Group Management: Muting members on Work Group is now not allowed.
|
||||
* Improved Avatar: Ensured that the avatar can be as small as possible while still covering the entire target box.
|
||||
* Permission Requests: Removed the gray translucent overlay for secondary confirmations on first-time permission requests.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where the color defined by `chatBgColor` could not cover the entire chat screen when messages did not cover the whole page.
|
||||
* Fixed an issue where the history message list could not be scrolled in some cases.
|
||||
* Fixed an issue where the ratio of sending messages was incorrect, resulting in the wrong position of the read status label on the left.
|
||||
* Fixed an issue where loading messages could fail when the number of messages equaled the specified count.
|
||||
|
||||
## 2.0.0-preview.3
|
||||
# 2.0.0-preview.3
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Integrated Callkit: The Calls button no longer needs to be added to `MorePanelConfig`. If `tencent_calls_uikit` is installed, the Video Call and Voice Call buttons will be displayed automatically.
|
||||
* Paste Images on Desktop: Users can now paste an image on the text field on Desktop to send it.
|
||||
* Screenshot Capture on Desktop: Users can now capture a screenshot on Desktop and send it.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Improved Compatibility: The TUIKit is now compatible with Flutter versions 3.0.0 to 3.7.7.
|
||||
|
||||
### Bug Fixes
|
||||
## Bug Fixes
|
||||
|
||||
* Fixed an issue where the `businessID` type may not be correct.
|
||||
* Fixed an issue where the `chatMessageItemFromSelfBgColor` configuration was not taking effect.
|
||||
|
||||
## 2.0.0-preview.2
|
||||
# 2.0.0-preview.2
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Added support for opening files locally from file messages.
|
||||
|
||||
## 2.0.0-preview.1
|
||||
# 2.0.0-preview.1
|
||||
|
||||
### New Features
|
||||
## New Features
|
||||
|
||||
* Desktop Support: Tencent Cloud Chat UIKit now supports all platforms, including iOS, Android, Web, Windows, and macOS, resulting in significant changes to the codebase. The UI has been enhanced to adapt to screens of various widths, with different layouts for both wide and narrow screens.
|
||||
* Information Copy: The ability to copy information, such as Group ID, from the screen has been added.
|
||||
|
||||
### Improvements
|
||||
## Improvements
|
||||
|
||||
* Improved group management logic, with non-administrators no longer able to access the management interface.
|
||||
* Optimized cursor positioning when sending messages.
|
||||
* Improved and optimized scrollbar functionality.
|
||||
* Enhanced clickable URL support in messages, with URLs now supporting both with and without the "https://" prefix.
|
||||
|
||||
## 1.7.0+1
|
||||
# 1.7.0+1
|
||||
|
||||
* Fix: An issue that caused errors on mentioning all members.
|
||||
|
||||
## 1.7.0
|
||||
# 1.7.0
|
||||
|
||||
* Addition: Support for quickly navigating to the first unread message in a group chat with more than 20 new unread messages, using the dynamic tongue located in the top right corner of the screen. This feature allows for swift movement through the messages, regardless of their quantity.
|
||||
* Addition: Customize the border radius for all avatars is now supported. You can set the default avatar border radius using `defaultAvatarBorderRadius` in `TIMUIKitConfig`.
|
||||
|
|
@ -328,56 +338,56 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Fix: An issue causing errors when sending a large number of stickers has been resolved.
|
||||
* Fix: Some errors that were occurring in the sticker panel have been addressed.
|
||||
|
||||
## 1.6.2
|
||||
# 1.6.2
|
||||
|
||||
* Optimization: Remove `fluttertoast`.
|
||||
* Fix: An issue that caused errors when sending files without extensions.
|
||||
|
||||
## 1.6.1
|
||||
# 1.6.1
|
||||
|
||||
* Fix: A bug of muting someone in a group.
|
||||
* Fix: A bug on Flutter 3.7.0.
|
||||
|
||||
## 1.6.0
|
||||
# 1.6.0
|
||||
|
||||
* Addition: `scrollToConversation` on `TIMUIKitConversationController`. You can now easily navigate to a specific conversation in the conversation list and move to the next unread conversation by double-clicking the tab bar, [refers to our sample app](https://github.com/TencentCloud/chat-demo-flutter/blob/main/lib/src/conversation.dart).
|
||||
* Optimization: The performance of the history message list while scrolling over a large distance.
|
||||
|
||||
## 1.5.0+1
|
||||
# 1.5.0+1
|
||||
|
||||
* Fix: An issue with video messages being oversize.
|
||||
|
||||
## 1.5.0
|
||||
# 1.5.0
|
||||
|
||||
* Addition: New configuration `defaultAvatarAssetPath` on global `TIMUIKitConfig` to define the default avatar.
|
||||
* Addition: Supports Flutter 3.7.0.
|
||||
* Fix: `chatBgColor` configuration.
|
||||
|
||||
## 1.4.0
|
||||
# 1.4.0
|
||||
|
||||
* Addition: Text translation. Long press the text messages to choose `Translate`, which can be turned off by `showTranslation` from `ToolTipsConfig`.
|
||||
* Optimization: The long press pop-up location and keyboard pop-up event.
|
||||
|
||||
## 1.3.2
|
||||
# 1.3.2
|
||||
|
||||
* Fix: Text input field height, after choosing to mention someone.
|
||||
|
||||
## 1.3.1
|
||||
# 1.3.1
|
||||
|
||||
* Optimization: Improve performance.
|
||||
|
||||
## 1.3.0
|
||||
# 1.3.0
|
||||
|
||||
* Fix: A bug where group tips were not showing the nickname or remarks when transferring group owner.
|
||||
* Optimization: Remove the confirmation pop-up before opening the file.
|
||||
|
||||
## 1.2.0
|
||||
# 1.2.0
|
||||
|
||||
* Fix: An issue where the input area was not showing when switching from recording to keyboard on `TIMUIKitChat`.
|
||||
* Fix: An issue where only the first receiver could receive the merged multiple forward messages.
|
||||
* Optimization: `MessageItemBuilder` can now be used for shows on the merger message screen.
|
||||
|
||||
## 1.1.0 And 1.1.0+1
|
||||
# 1.1.0 And 1.1.0+1
|
||||
|
||||
* Addition: We have added support for two new languages - Japanese and Korean.
|
||||
* Addition: You can now add other languages apart from our default ones, such as English, Chinese (Simplified and Traditional), Japanese, and Korean. You can also modify the translations using the instructions provided in [this documentation](https://www.tencentcloud.com/document/product/1047/52154?from=pub).
|
||||
|
|
@ -391,12 +401,12 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Optimization: We have added a new loading animation when downloading images or videos on `TIMUIKitGroupChat`.
|
||||
* Fix: We have fixed some bugs.
|
||||
|
||||
## 1.0.1
|
||||
# 1.0.1
|
||||
|
||||
* Modification: Remove `groupTRTCTipsItemBuilder` from `MessageItemBuilder`, please use `customMessageItemBuilder` instead.
|
||||
* Modification: Remove default rendering for calling messages, you can choose to use the default widgets, `CallMessageItem` and `GroupCallMessageItem`, from our call plugin `tim_ui_kit_calling_plugin` directly. Refer to the [Demo](https://github.com/TencentCloud/chat-demo-flutter/tree/main/lib/utils/custom_message/custom_message_element.dart).
|
||||
|
||||
## 1.0.0
|
||||
# 1.0.0
|
||||
|
||||
* Addition: We have added support for adding Flutter module to Native APP. For implementation details, please refer to [this documentation](https://www.tencentcloud.com/document/product/1047/51456?from=pub).
|
||||
* Addition: You can now customize stickers and emojis for text messages. For more information, please refer to [this documentation](https://cloud.tencent.com/document/product/269/80882).
|
||||
|
|
@ -410,7 +420,7 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
|
||||
> **Please note that modifications are required for the second and sixth lines**. Otherwise, the modules for stickers/emojis/call records will not work.
|
||||
|
||||
## 0.1.8
|
||||
# 0.1.8
|
||||
|
||||
* Optimization: File batch downloading queue now allows clicking on multiple file messages at once.
|
||||
* Optimization: Group list widgets are now automatically updated.
|
||||
|
|
@ -420,7 +430,7 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Fix: Resolved a crash when playing videos.
|
||||
* Fix: Several bugs.
|
||||
|
||||
## 0.1.7
|
||||
# 0.1.7
|
||||
|
||||
* Addition: Big and RAW images are now supported, especially for those captured from the latest version of iOS and iPhone 14 Pro series, with automatic compression and formatting before sending.
|
||||
* Optimization: Improved performance and stability, especially for the history message list and launching.
|
||||
|
|
@ -430,7 +440,7 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Fix: Resolved an issue with select photos permission.
|
||||
* Fix: Several bugs.
|
||||
|
||||
## 0.1.5
|
||||
# 0.1.5
|
||||
|
||||
* Addition: Web support is now available, allowing TUIKit to be implemented on iOS/Android/Web platforms.
|
||||
* Addition: Disk storage checking is now performed after login, with controls available in `config` of `init`.
|
||||
|
|
@ -443,17 +453,17 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Optimization: Rebuilt and improved the experience of `TIMUIKitChat`. Note that `TIMUIKitChatController` needs to be specified to `controller`, as shown in the [Demo](https://github.com/TencentCloud/tc-chat-demo-flutter/lib/src/chat.dart).
|
||||
* Fix: Several bugs.
|
||||
|
||||
## 0.1.3
|
||||
# 0.1.3
|
||||
|
||||
* Addition: User inputting status is now available.
|
||||
* Addition: Message reactions with emoji/stickers are now available.
|
||||
* Addition: User online status is now available.
|
||||
|
||||
## 0.1.2
|
||||
# 0.1.2
|
||||
|
||||
* Upgrade: flutter_record_plugin_plus to version 0.0.4.
|
||||
|
||||
## 0.1.1
|
||||
# 0.1.1
|
||||
|
||||
* Addition: Lifecycle hooks are now available for the main widgets, referring to the parameter description for details.
|
||||
* Addition: Mute status display is now available for group chat on the chat page.
|
||||
|
|
@ -462,11 +472,11 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Optimization: Image preview display has been improved.
|
||||
* Rebuilt: TUIKitGroupProfile and TUIKitProfile have been simplified for ease of use.
|
||||
|
||||
## 0.1.0-bugfix
|
||||
# 0.1.0-bugfix
|
||||
|
||||
* Upgrade: Tencent IM Native SDK.
|
||||
|
||||
## 0.1.0
|
||||
# 0.1.0
|
||||
|
||||
* Addition: Atomization widgets for TIMUIKitChat.
|
||||
* Addition: Updating the UI when the message has been modified.
|
||||
|
|
@ -475,38 +485,38 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Addition: Support for Traditional Chinese.
|
||||
* Addition: Customization for conversation list item.
|
||||
|
||||
## 0.0.9
|
||||
# 0.0.9
|
||||
|
||||
* Addition: Offline push along with [tim_ui_kit_push_plugin](https://pub.dev/packages/tim_ui_kit_push_plugin).
|
||||
* Adapt: Flutter 3.0.0.
|
||||
* Optimization: Local preview of multimedia files.
|
||||
|
||||
## 0.0.8
|
||||
# 0.0.8
|
||||
|
||||
* Addition: Group read receipt module.
|
||||
* Addition: Little tongue on the message list.
|
||||
* Addition: Examples.
|
||||
* Fix: Several bugs.
|
||||
|
||||
## 0.0.7
|
||||
# 0.0.7
|
||||
|
||||
* Fix: Several bugs.
|
||||
|
||||
## 0.0.6
|
||||
# 0.0.6
|
||||
|
||||
* Addition: New `sendMessage` method to the controller `TIMUIKitChatController` for TIMUIKitChat.
|
||||
* Addition: Configuration for TIMUIKitChat, which can control the functions for TIMUIKitChat components.
|
||||
* Support: Customized for more panel customized ability to TIMUIKitChat.
|
||||
* Optimization: User authorization standardized.
|
||||
|
||||
## 0.0.5
|
||||
# 0.0.5
|
||||
|
||||
* Addition: Several new customized configs, includes, appBarConfig, morePanelConfig, and removed appBarActions config.
|
||||
* Optimization: Image preview displaying.
|
||||
* Upgrade: Tencent IM SDK.
|
||||
* Fix: The issue of conversation item duplication for TIMUIKitConversation.
|
||||
|
||||
## 0.0.4
|
||||
# 0.0.4
|
||||
|
||||
* Optimization: TIMUIKitChat, especially for media files selector.
|
||||
* Optimization: Previewing of image messages, video messages.
|
||||
|
|
@ -514,7 +524,7 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Optimization: UI for search components.
|
||||
* Upgrade: Tencent IM SDK.
|
||||
|
||||
## 0.0.3
|
||||
# 0.0.3
|
||||
|
||||
* Addition: TIMUIKitSearch and TIMUIKitSearchMsgDetail, supports searching both in conversation and globally.
|
||||
* Addition: TIMUIKitAddFriend.
|
||||
|
|
@ -522,12 +532,12 @@ In addition, there are some significant changes compared to version 2.0.0-previe
|
|||
* Addition: Theme style configuration.
|
||||
* Optimization: Internationalization.
|
||||
|
||||
## 0.0.2
|
||||
# 0.0.2
|
||||
|
||||
* Optimization: TIMUIKitChat.
|
||||
* Fix: Bugs on Internationalization.
|
||||
|
||||
## 0.0.1
|
||||
# 0.0.1
|
||||
|
||||
The first released of TUIKit for Flutter of Tencent Cloud IM, the component of the first phase includes:
|
||||
|
||||
|
|
|
|||
|
|
@ -490,6 +490,13 @@ defaultConfig {
|
|||
|
||||
---
|
||||
|
||||
## Recommended Resources
|
||||
|
||||
For those who require real-time voice and video call capabilities alongside our Chat UIKit,
|
||||
we highly recommend our dedicated voice and video call UI component package, [tencent\_calls\_uikit](https://pub.dev/packages/tencent_calls_uikit).
|
||||
This robust and feature-rich package is specifically designed to complement our existing solution and seamlessly integrate with it,
|
||||
providing a comprehensive, unified communication experience for your users.
|
||||
|
||||
## Contact Us
|
||||
|
||||
Please do not hesitate to contact us in the following place, if you have any further questions or
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <audioplayers_linux/audioplayers_linux_plugin.h>
|
||||
#include <desktop_drop/desktop_drop_plugin.h>
|
||||
#include <file_selector_linux/file_selector_plugin.h>
|
||||
#include <image_clipboard/image_clipboard_plugin.h>
|
||||
|
|
@ -14,9 +13,6 @@
|
|||
#include <url_launcher_linux/url_launcher_plugin.h>
|
||||
|
||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||
g_autoptr(FlPluginRegistrar) audioplayers_linux_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "AudioplayersLinuxPlugin");
|
||||
audioplayers_linux_plugin_register_with_registrar(audioplayers_linux_registrar);
|
||||
g_autoptr(FlPluginRegistrar) desktop_drop_registrar =
|
||||
fl_plugin_registry_get_registrar_for_plugin(registry, "DesktopDropPlugin");
|
||||
desktop_drop_plugin_register_with_registrar(desktop_drop_registrar);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
audioplayers_linux
|
||||
desktop_drop
|
||||
file_selector_linux
|
||||
image_clipboard
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
import FlutterMacOS
|
||||
import Foundation
|
||||
|
||||
import audioplayers_darwin
|
||||
import audio_session
|
||||
import desktop_drop
|
||||
import device_info_plus
|
||||
import fc_native_video_thumbnail
|
||||
import file_selector_macos
|
||||
import image_clipboard
|
||||
import just_audio
|
||||
import package_info_plus
|
||||
import pasteboard
|
||||
import path_provider_foundation
|
||||
|
|
@ -20,12 +21,13 @@ import sqflite
|
|||
import url_launcher_macos
|
||||
|
||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||
AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin"))
|
||||
AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin"))
|
||||
DesktopDropPlugin.register(with: registry.registrar(forPlugin: "DesktopDropPlugin"))
|
||||
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
|
||||
FcNativeVideoThumbnailPlugin.register(with: registry.registrar(forPlugin: "FcNativeVideoThumbnailPlugin"))
|
||||
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
|
||||
ImageClipboardPlugin.register(with: registry.registrar(forPlugin: "ImageClipboardPlugin"))
|
||||
JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin"))
|
||||
FLTPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FLTPackageInfoPlusPlugin"))
|
||||
PasteboardPlugin.register(with: registry.registrar(forPlugin: "PasteboardPlugin"))
|
||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||
|
|
|
|||
|
|
@ -49,62 +49,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.11.0"
|
||||
audioplayers:
|
||||
audio_session:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers
|
||||
sha256: "16451eab798b23ad9307aef6f9ca62bb8fb06542af8810eead0d236d3fd40a42"
|
||||
name: audio_session
|
||||
sha256: "8a2bc5e30520e18f3fb0e366793d78057fb64cd5287862c76af0c8771f2a52ad"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
audioplayers_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_android
|
||||
sha256: b2c833e6f718b6b030454e329931229afafe9327fdb002874dd544dc8bf2484d
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
audioplayers_darwin:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_darwin
|
||||
sha256: e7a3c8759bf11ecfe4b20df338bf9f3d37c7719a5761c46a3833aba0ceeaacff
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
audioplayers_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_linux
|
||||
sha256: e95b65e1f4d4764601dac5e65f8d8186fc29401043ab020f1dacec483d708707
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
audioplayers_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_platform_interface
|
||||
sha256: "178581a44cb685fd798d2108111d2e98cca3400e30b9c3a05546f124fb37f600"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.0.0"
|
||||
audioplayers_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_web
|
||||
sha256: "859ba09be2a57e57a787273f18c8cf0d9b61383870c5ee4b5632fe9adbc37edf"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
audioplayers_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_windows
|
||||
sha256: "622e01c4c357c2aaf1b956c3a0f89d97c3cb40315c03f16e3b6c2a31ff9c38bc"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.3"
|
||||
version: "0.1.16"
|
||||
azlistview_all_platforms:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -229,10 +181,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: collection
|
||||
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
|
||||
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.17.1"
|
||||
version: "1.17.2"
|
||||
convert:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -333,42 +285,42 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: extended_image
|
||||
sha256: e77d18f956649ba6e5ecebd0cb68542120886336a75ee673788145bd4c3f0767
|
||||
sha256: d1b122d6f5cf5596ea61d703d116d89e2ece7e324db414cfeed12967b72b7aef
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.0.2"
|
||||
version: "8.1.0"
|
||||
extended_image_library:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_image_library
|
||||
sha256: af3ff1c09c23ca7663f94272313d63499a6bd19121e99378e375e0cf2ac7a3e4
|
||||
sha256: "8bf87c0b14dcb59200c923a9a3952304e4732a0901e40811428834ef39018ee1"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.5.2"
|
||||
version: "3.6.0"
|
||||
extended_text:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_text
|
||||
sha256: dec14c9b36d9bbaaf007da5998f5dc72a2dbd5b877601d7b7970bb42524b3ced
|
||||
sha256: "02260234da409916f56add1dd470bc17f4b3359e94c93bf4b8e44c7439dcd536"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "11.0.1"
|
||||
version: "11.1.0"
|
||||
extended_text_field:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_text_field
|
||||
sha256: e93248bb9b04a3e6c5e88a6a96e1c08cc765097657ab25aabe409e06a4f6760a
|
||||
sha256: "893f61eff66157cbf14764f08092730fc3ff8987e7f1e92f618b007226be9bda"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "12.0.1"
|
||||
version: "12.1.0"
|
||||
extended_text_library:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_text_library
|
||||
sha256: c06fbd8e3b6eedadf50cd6c109bbbd80921a6c43e4422d3b4ec9d4cb36ce4555
|
||||
sha256: f6ae456324ff6ba3f9fe560a5c12f51ec02c5f463ef5a02bf165b678f049d547
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "11.0.2"
|
||||
version: "11.1.0"
|
||||
fake_async:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -588,18 +540,18 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: http
|
||||
sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
|
||||
sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.13.6"
|
||||
version: "1.1.0"
|
||||
http_client_helper:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: http_client_helper
|
||||
sha256: "14c6e756644339f561321dab021215475ba4779aa962466f59ccb3ecf66b36c3"
|
||||
sha256: "8a9127650734da86b5c73760de2b404494c968a3fd55602045ffec789dac3cb1"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.4"
|
||||
version: "3.0.0"
|
||||
http_parser:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -712,14 +664,38 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.8.1"
|
||||
link_preview_generator:
|
||||
just_audio:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: link_preview_generator
|
||||
sha256: f296d4f662810b235335c4e539a70d4b551ae7b80e2941a3a8357e37421ae575
|
||||
name: just_audio
|
||||
sha256: "890cd0fc41a1a4530c171e375a2a3fb6a09d84e9d508c5195f40bcff54330327"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "0.9.34"
|
||||
just_audio_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_platform_interface
|
||||
sha256: d8409da198bbc59426cd45d4c92fca522a2ec269b576ce29459d6d6fcaeb44df
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.2.1"
|
||||
just_audio_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_web
|
||||
sha256: ff62f733f437b25a0ff590f0e295fa5441dcb465f1edbdb33b3dea264705bc13
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.4.8"
|
||||
link_preview_generator_for_us:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: link_preview_generator_for_us
|
||||
sha256: "22871934571062577b0ed0ef00e8e0eefc044be58b5dc8a99102adeccd206075"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
lints:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -772,18 +748,18 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: matcher
|
||||
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb"
|
||||
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.12.15"
|
||||
version: "0.12.16"
|
||||
material_color_utilities:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
|
||||
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.2.0"
|
||||
version: "0.5.0"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -980,10 +956,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: photo_manager
|
||||
sha256: bdc4ab1fa9fb064d8ccfea6ab44119f55b220293d7ce2e19eb5a5f998db86c88
|
||||
sha256: b2d81bd197323697d1b335e2e04cea2f67e11624ced77cfd02917a10afaeba73
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.6.0"
|
||||
version: "2.7.1"
|
||||
platform:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1137,10 +1113,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: source_span
|
||||
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250
|
||||
sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.9.1"
|
||||
version: "1.10.0"
|
||||
sqflite:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1227,7 +1203,7 @@ packages:
|
|||
path: ".."
|
||||
relative: true
|
||||
source: path
|
||||
version: "2.2.1-preview.0"
|
||||
version: "2.2.1"
|
||||
tencent_cloud_uikit_core:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1304,10 +1280,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: test_api
|
||||
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
|
||||
sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.5.1"
|
||||
version: "0.6.0"
|
||||
tim_ui_kit_sticker_plugin:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1524,6 +1500,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: web
|
||||
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.1.4-beta"
|
||||
wechat_assets_picker:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1536,10 +1520,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: wechat_camera_picker
|
||||
sha256: d8108ea33b1ed25933770199d08d64c210a2854bc6a326fd058a2f34dca8bf46
|
||||
sha256: "6c2e941275b43f68085e4d1adef036e6b9e7b2e81c29038bb2f933916810e423"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.8.0"
|
||||
version: "4.0.0"
|
||||
win32:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1581,5 +1565,5 @@ packages:
|
|||
source: hosted
|
||||
version: "3.1.2"
|
||||
sdks:
|
||||
dart: ">=3.0.0 <3.2.0"
|
||||
flutter: ">=3.10.0"
|
||||
dart: ">=3.1.0-185.0.dev <3.2.0"
|
||||
flutter: ">=3.13.0"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "generated_plugin_registrant.h"
|
||||
|
||||
#include <audioplayers_windows/audioplayers_windows_plugin.h>
|
||||
#include <desktop_drop/desktop_drop_plugin.h>
|
||||
#include <fc_native_video_thumbnail/fc_native_video_thumbnail_plugin_c_api.h>
|
||||
#include <file_selector_windows/file_selector_windows.h>
|
||||
|
|
@ -16,8 +15,6 @@
|
|||
#include <url_launcher_windows/url_launcher_windows.h>
|
||||
|
||||
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
||||
AudioplayersWindowsPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("AudioplayersWindowsPlugin"));
|
||||
DesktopDropPluginRegisterWithRegistrar(
|
||||
registry->GetRegistrarForPlugin("DesktopDropPlugin"));
|
||||
FcNativeVideoThumbnailPluginCApiRegisterWithRegistrar(
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
#
|
||||
|
||||
list(APPEND FLUTTER_PLUGIN_LIST
|
||||
audioplayers_windows
|
||||
desktop_drop
|
||||
fc_native_video_thumbnail
|
||||
file_selector_windows
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
import 'dart:async';
|
||||
import 'package:audioplayers/audioplayers.dart';
|
||||
// import 'package:audioplayers/audioplayers.dart';
|
||||
import 'package:flutter_plugin_record_plus/const/play_state.dart';
|
||||
import 'package:flutter_plugin_record_plus/const/response.dart';
|
||||
import 'package:flutter_plugin_record_plus/index.dart';
|
||||
import 'package:just_audio/just_audio.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/import_proxy/import_proxy.dart';
|
||||
|
||||
typedef PlayStateListener = void Function(PlayState playState);
|
||||
|
|
@ -19,7 +20,7 @@ class SoundPlayer {
|
|||
static initSoundPlayer() {
|
||||
if (!isInited) {
|
||||
_recorder.init();
|
||||
AudioPlayer.global.setGlobalAudioContext(const AudioContext());
|
||||
// AudioPlayer.global.setGlobalAudioContext(const AudioContext());
|
||||
isInited = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +30,8 @@ class SoundPlayer {
|
|||
if (_soundInterruptListener != null) {
|
||||
_soundInterruptListener!();
|
||||
}
|
||||
await _audioPlayer.play(UrlSource(url));
|
||||
await _audioPlayer.setUrl(url);
|
||||
await _audioPlayer.play();
|
||||
}
|
||||
|
||||
static stop() {
|
||||
|
|
@ -43,7 +45,7 @@ class SoundPlayer {
|
|||
|
||||
static StreamSubscription<PlayerState> playStateListener(
|
||||
{required void Function(PlayerState)? listener}) =>
|
||||
_audioPlayer.onPlayerStateChanged.listen(listener);
|
||||
_audioPlayer.playerStateStream.listen(listener);
|
||||
|
||||
|
||||
static setSoundInterruptListener(SoundInterruptListener listener) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
|
||||
import 'dart:async';
|
||||
import 'dart:math';
|
||||
import 'package:audioplayers/audioplayers.dart';
|
||||
// import 'package:audioplayers/audioplayers.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:just_audio/just_audio.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/base_widgets/tim_ui_kit_base.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/base_widgets/tim_ui_kit_state.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/business_logic/separate_models/tui_chat_separate_view_model.dart';
|
||||
|
|
@ -120,7 +121,7 @@ class _TIMUIKitSoundElemState extends TIMUIKitState<TIMUIKitSoundElem> {
|
|||
|
||||
subscription =
|
||||
SoundPlayer.playStateListener(listener: (PlayerState state) {
|
||||
if(state == PlayerState.completed){
|
||||
if(state.processingState == ProcessingState.completed){
|
||||
widget.chatModel.currentPlayedMsgId = "";
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import 'dart:convert';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:link_preview_generator/link_preview_generator.dart';
|
||||
import 'package:link_preview_generator_for_us/link_preview_generator.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/tencent_cloud_chat_uikit.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/ui/widgets/link_preview/common/extensions.dart';
|
||||
import 'package:tencent_cloud_chat_uikit/ui/widgets/link_preview/link_preview_entry.dart';
|
||||
|
|
@ -53,7 +53,7 @@ class LinkUtils {
|
|||
if (!e.contains("http")) {
|
||||
url = 'http://$e';
|
||||
}
|
||||
final WebInfo info = await LinkPreview.scrapeFromURL(url);
|
||||
final WebInfo info = await LinkPreviewForUs.scrapeFromURL(url);
|
||||
|
||||
return LocalCustomDataModel(
|
||||
url: e,
|
||||
|
|
|
|||
144
pubspec.lock
144
pubspec.lock
|
|
@ -41,62 +41,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.11.0"
|
||||
audioplayers:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: audioplayers
|
||||
sha256: "16451eab798b23ad9307aef6f9ca62bb8fb06542af8810eead0d236d3fd40a42"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
audioplayers_android:
|
||||
audio_session:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_android
|
||||
sha256: b2c833e6f718b6b030454e329931229afafe9327fdb002874dd544dc8bf2484d
|
||||
name: audio_session
|
||||
sha256: "8a2bc5e30520e18f3fb0e366793d78057fb64cd5287862c76af0c8771f2a52ad"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
audioplayers_darwin:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_darwin
|
||||
sha256: e7a3c8759bf11ecfe4b20df338bf9f3d37c7719a5761c46a3833aba0ceeaacff
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.0.1"
|
||||
audioplayers_linux:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_linux
|
||||
sha256: e95b65e1f4d4764601dac5e65f8d8186fc29401043ab020f1dacec483d708707
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.4"
|
||||
audioplayers_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_platform_interface
|
||||
sha256: "178581a44cb685fd798d2108111d2e98cca3400e30b9c3a05546f124fb37f600"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.0.0"
|
||||
audioplayers_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_web
|
||||
sha256: "859ba09be2a57e57a787273f18c8cf0d9b61383870c5ee4b5632fe9adbc37edf"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.2.0"
|
||||
audioplayers_windows:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: audioplayers_windows
|
||||
sha256: "622e01c4c357c2aaf1b956c3a0f89d97c3cb40315c03f16e3b6c2a31ff9c38bc"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.3"
|
||||
version: "0.1.16"
|
||||
azlistview_all_platforms:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
@ -293,10 +245,10 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: collection
|
||||
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
|
||||
sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.17.1"
|
||||
version: "1.17.2"
|
||||
convert:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -405,42 +357,42 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: extended_image
|
||||
sha256: e77d18f956649ba6e5ecebd0cb68542120886336a75ee673788145bd4c3f0767
|
||||
sha256: d1b122d6f5cf5596ea61d703d116d89e2ece7e324db414cfeed12967b72b7aef
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.0.2"
|
||||
version: "8.1.0"
|
||||
extended_image_library:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_image_library
|
||||
sha256: af3ff1c09c23ca7663f94272313d63499a6bd19121e99378e375e0cf2ac7a3e4
|
||||
sha256: "8bf87c0b14dcb59200c923a9a3952304e4732a0901e40811428834ef39018ee1"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.5.2"
|
||||
version: "3.6.0"
|
||||
extended_text:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: extended_text
|
||||
sha256: dec14c9b36d9bbaaf007da5998f5dc72a2dbd5b877601d7b7970bb42524b3ced
|
||||
sha256: "02260234da409916f56add1dd470bc17f4b3359e94c93bf4b8e44c7439dcd536"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "11.0.1"
|
||||
version: "11.1.0"
|
||||
extended_text_field:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: extended_text_field
|
||||
sha256: e93248bb9b04a3e6c5e88a6a96e1c08cc765097657ab25aabe409e06a4f6760a
|
||||
sha256: "893f61eff66157cbf14764f08092730fc3ff8987e7f1e92f618b007226be9bda"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "12.0.1"
|
||||
version: "12.1.0"
|
||||
extended_text_library:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: extended_text_library
|
||||
sha256: c06fbd8e3b6eedadf50cd6c109bbbd80921a6c43e4422d3b4ec9d4cb36ce4555
|
||||
sha256: f6ae456324ff6ba3f9fe560a5c12f51ec02c5f463ef5a02bf165b678f049d547
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "11.0.2"
|
||||
version: "11.1.0"
|
||||
fast_i18n:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -655,18 +607,18 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: http
|
||||
sha256: "5895291c13fa8a3bd82e76d5627f69e0d85ca6a30dcac95c4ea19a5d555879c2"
|
||||
sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.13.6"
|
||||
version: "1.1.0"
|
||||
http_client_helper:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: http_client_helper
|
||||
sha256: "14c6e756644339f561321dab021215475ba4779aa962466f59ccb3ecf66b36c3"
|
||||
sha256: "8a9127650734da86b5c73760de2b404494c968a3fd55602045ffec789dac3cb1"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.4"
|
||||
version: "3.0.0"
|
||||
http_multi_server:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -795,14 +747,38 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.8.1"
|
||||
link_preview_generator:
|
||||
just_audio:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: link_preview_generator
|
||||
sha256: f296d4f662810b235335c4e539a70d4b551ae7b80e2941a3a8357e37421ae575
|
||||
name: just_audio
|
||||
sha256: "890cd0fc41a1a4530c171e375a2a3fb6a09d84e9d508c5195f40bcff54330327"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.2.0"
|
||||
version: "0.9.34"
|
||||
just_audio_platform_interface:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_platform_interface
|
||||
sha256: d8409da198bbc59426cd45d4c92fca522a2ec269b576ce29459d6d6fcaeb44df
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "4.2.1"
|
||||
just_audio_web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: just_audio_web
|
||||
sha256: ff62f733f437b25a0ff590f0e295fa5441dcb465f1edbdb33b3dea264705bc13
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.4.8"
|
||||
link_preview_generator_for_us:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: link_preview_generator_for_us
|
||||
sha256: "22871934571062577b0ed0ef00e8e0eefc044be58b5dc8a99102adeccd206075"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.0.0"
|
||||
lints:
|
||||
dependency: "direct dev"
|
||||
description:
|
||||
|
|
@ -863,10 +839,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: material_color_utilities
|
||||
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724
|
||||
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.2.0"
|
||||
version: "0.5.0"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1055,10 +1031,10 @@ packages:
|
|||
dependency: transitive
|
||||
description:
|
||||
name: photo_manager
|
||||
sha256: bdc4ab1fa9fb064d8ccfea6ab44119f55b220293d7ce2e19eb5a5f998db86c88
|
||||
sha256: b2d81bd197323697d1b335e2e04cea2f67e11624ced77cfd02917a10afaeba73
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.6.0"
|
||||
version: "2.7.1"
|
||||
platform:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1592,6 +1568,14 @@ packages:
|
|||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.1.0"
|
||||
web:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: web
|
||||
sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.1.4-beta"
|
||||
web_socket_channel:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1612,10 +1596,10 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: wechat_camera_picker
|
||||
sha256: d8108ea33b1ed25933770199d08d64c210a2854bc6a326fd058a2f34dca8bf46
|
||||
sha256: "6c2e941275b43f68085e4d1adef036e6b9e7b2e81c29038bb2f933916810e423"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "3.8.0"
|
||||
version: "4.0.0"
|
||||
win32:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
@ -1657,5 +1641,5 @@ packages:
|
|||
source: hosted
|
||||
version: "3.1.2"
|
||||
sdks:
|
||||
dart: ">=3.0.0 <3.2.0"
|
||||
flutter: ">=3.10.0"
|
||||
dart: ">=3.1.0-185.0.dev <3.2.0"
|
||||
flutter: ">=3.13.0"
|
||||
|
|
|
|||
20
pubspec.yaml
20
pubspec.yaml
|
|
@ -1,8 +1,8 @@
|
|||
name: tencent_cloud_chat_uikit
|
||||
description: A powerful chat UI component library and business logic for Tencent Cloud Chat, creating seamless in-app chat modules for delightful user experiences.
|
||||
version: 2.2.1
|
||||
version: 2.3.0
|
||||
homepage: https://trtc.io/products/chat?utm_source=gfs&utm_medium=link&utm_campaign=%E6%B8%A0%E9%81%93&_channel_track_key=k6WgfCKn
|
||||
repository: https://github.com/TencentCloud/tc-chat-uikit-flutter
|
||||
repository: https://github.com/TencentCloud/chat-uikit-flutter
|
||||
documentation: https://comm.qq.com/im/doc/flutter/en/TUIKit/readme.html
|
||||
|
||||
# publish_to: none
|
||||
|
|
@ -15,7 +15,7 @@ platforms:
|
|||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
flutter: ">=3.10.0"
|
||||
flutter: ">=3.13.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
|
@ -42,11 +42,11 @@ dependencies:
|
|||
shared_preferences: ^2.0.13
|
||||
scroll_to_index: ^2.1.1
|
||||
wechat_assets_picker: ^8.5.0
|
||||
wechat_camera_picker: ^3.8.0
|
||||
wechat_camera_picker: ^4.0.0
|
||||
flutter_easyrefresh: ^2.2.1
|
||||
extended_image: ^8.0.1
|
||||
extended_text_field: ^12.0.0
|
||||
extended_text: ^11.0.0
|
||||
extended_image: ^8.1.0
|
||||
extended_text_field: ^12.1.0
|
||||
extended_text: ^11.1.0
|
||||
package_info_plus: ^4.0.1
|
||||
loading_animation_widget: ^1.1.0+3
|
||||
permission_handler: ^10.2.0
|
||||
|
|
@ -54,8 +54,8 @@ dependencies:
|
|||
flutter_markdown: ^0.6.15
|
||||
url_launcher: ^6.1.4
|
||||
universal_html: ^2.2.2
|
||||
link_preview_generator: ^1.2.0
|
||||
http: ^0.13.5
|
||||
link_preview_generator_for_us: ^2.0.0
|
||||
http: ^1.0.0
|
||||
crypto: ^3.0.2
|
||||
collection: ^1.15.0
|
||||
flutter_image_compress: ^1.1.3
|
||||
|
|
@ -65,7 +65,6 @@ dependencies:
|
|||
tim_ui_kit_sticker_plugin: ^3.0.1+1
|
||||
tencent_im_base: ^3.0.1
|
||||
fc_native_video_thumbnail: any
|
||||
audioplayers: ^3.0.1
|
||||
path: ^1.8.1
|
||||
tencent_cloud_uikit_core: ^1.1.0
|
||||
pasteboard: ^0.2.0
|
||||
|
|
@ -74,6 +73,7 @@ dependencies:
|
|||
cross_file: ^0.3.3+4
|
||||
csslib: 0.17.2
|
||||
diff_match_patch: ^0.4.1
|
||||
just_audio: ^0.9.34
|
||||
markdown: ^7.1.0
|
||||
logger: ^2.0.1
|
||||
image_clipboard: ^1.0.0+2
|
||||
|
|
|
|||
Loading…
Reference in New Issue