Skip to content

Commit 07d9506

Browse files
Updated to version 4.5.0
1 parent 4748948 commit 07d9506

File tree

126 files changed

+2826
-3397
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+2826
-3397
lines changed

CHANGELOG.md

Lines changed: 95 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
1-
## 4.4.0 - 2nd May 2024
1+
## 4.5.0
2+
**Enhancements**
3+
- Updated all 3rd-party plugins versions.
4+
- Resolved all static Dart Analyser suggestions
5+
- Added namespaces in build.gradle to avoid conflicts.
26

3-
### New
7+
**Fixes**
8+
- Resolved a functional problem where changes in scope were not altering options in the details page in real time.
9+
10+
## 4.4.0
11+
**New**
412
- User Mention Support:
513
- Added support for mentioning users in a conversation using the @ symbol in the message composer.
614
- Mentioned users will be highlighted in the message composer, text bubble, and subtitle of conversations in the conversation list if the last message is a text message containing a mention.
7-
### Enhancements
15+
16+
**Enhancements**
817
- The `cometchat_sdk` dependency has been updated to version `4.0.10` for better performance.
918
- The `cometchat_uikit_shared` dependency has been updated to `4.3.0` for better performance
1019
- Upgraded `CometChatMessageList`, `CometChatMessageComposer`, and `CometChatConversations` components to accept an array of `CometChatTextFormatter`, providing a flexible text formatting system based on various regex patterns. This will help in differentiating between user mentions and URLs within a message.
11-
### Fixes
20+
21+
**Fixes**
1222
- Fixed an issue that caused the app to crash when trying to open a thread while a message was still in the sending state.
1323
- Resolved an issue where smart replies were visible in threaded messages even if the last message was not a text message.
1424
- Real-Time Updates:
@@ -17,211 +27,174 @@
1727
- Ensured visibility of form messages received in real-time.
1828
- Updated the conversation list when a form message is received in real-time.
1929

20-
## 4.3.4 - 23rd April 2024
21-
22-
### Fixes
30+
## 4.3.4
31+
**Fixes**
2332
- Addressed a usability issue by removing the View Profile button in User Profile for streamlined navigation.
2433
- Rectified a functionality issue with the polls, where users were unable to swipe and remove answers.
2534
- Corrected an issue with the threaded messages count being incremented improperly.
2635

27-
### Enhancements
36+
**Enhancements**
2837
- Enhanced `ThreadedMessagesConfiguration` and `CometChatThreadedMessages` by adding `messageComposerView`, `messageListView` and `hideMessageComposer` for better configuration control.
2938
- Updated the `CreatePoll` functionality by adding a suffix icon to allow users to easily remove answers.
3039
- Updated `cometchat_uikit_shared` to version `4.2.10`.
3140

32-
## 4.3.3 - 16th April 2024
33-
34-
### Fixes
41+
## 4.3.3
42+
**Fixes**
3543
- Addressed an issue with duplicate messages appearing in CometChatMessageList when a media message was sent.
3644
- Resolved an issue where smart replies did not disappear after sending or receiving messages.
3745

38-
### Enhancements
46+
**Enhancements**
3947
- Upgraded `cometchat_uikit_shared` to version `4.2.9`
4048
- Upgraded `cometchat_sdk` to version `4.0.8`
4149

42-
## 4.3.2 - 9th April 2024
43-
44-
### Fixes
50+
## 4.3.2
51+
**Fixes**
4552
- Resolved a padding issue with the `CometChatMessageHeader` to improve user experience.
4653
- Corrected an issue where the user name was missing in the typing indicator for a group in the `CometChatConversations` Component.
4754
- Fixed an issue where the user name was not displayed before the last message for a group in the `CometChatConversations` Component.
4855

49-
### Enhancements
56+
**Enhancements**
5057
- Upgraded `cometchat_uikit_shared` to version `4.2.8`
5158

52-
## 4.3.1 - 2nd April 2024
53-
54-
### Fixes
59+
## 4.3.1
60+
**Fixes**
5561
- Addressed an issue with user presence not updating correctly in `CometChatConversations` and `CometChatConversationsWithMessages`, ensuring accurate user status.
5662
- Resolved render flex overflow issue in the `headerView` of `CometChatMessageBubble` in `CometChatMessageList` for smoother UI experience.
5763

58-
### Enhancements
59-
64+
**Enhancements**
6065
- Upgraded `cometchat_uikit_shared` to version `4.2.7`
6166

62-
## 4.3.0 - 21st March 2024
63-
64-
### New
67+
## 4.3.0
68+
**New**
6569
- support for the new `Reaction` feature from `cometchat_sdk: ^4.0.7`
6670
- `CometChatReactions` will be displayed on `CometChatMessageBubble` using `reactions` property of `TextMessage`, `MediaMessage` and `CustomMessage` in `CometChatMessageList`.
6771
- `CometChatReactionList` can be accessed on long pressing on `CometChatReactions` from `CometChatMessageList`.
6872

69-
### Enhancements
73+
**Enhancements**
7074
- Upgraded `cometchat_sdk` to version `4.0.7`
7175
- Upgraded `cometchat_uikit_shared` to version `4.2.6`
7276

73-
### Fixes
77+
**Fixes**
7478
- Added spacing between `leadingView` and `contentView` of `CometChatMessageBubble` constructed in `CometChatMessageList`.
7579
- Issue of member count not updating when we are performing Group related actions like adding, banning or removing a `GroupMember` or trying to transfer ownership to another group member.
7680
- Fixed pixelation of AI features icon shown in `CometChatMessageComposer`
7781

78-
## 4.2.3 - 5th March 2024
79-
80-
### Fixed
81-
- duplication issue in `CometChatConversations`, `CometChatUsers`, and `CometChatGroups`.
82-
- real time message receiving when filtering categories and types from `messageRequestBuilder` in `CometChatMessageList`.
83-
84-
## 4.2.2 - 22nd February 2024
82+
## 4.2.3
83+
**Fixes**
84+
- Duplication issue in `CometChatConversations`, `CometChatUsers`, and `CometChatGroups`.
85+
- Real time message receiving when filtering categories and types from `messageRequestBuilder` in `CometChatMessageList`.
8586

86-
### Fixed
87+
## 4.2.2
88+
**Fixes**
8789
- `bubbleView` alignment issue fixed in `CometChatMessageList`
88-
- missing configurations `hideAppBar`, `submitIcon`, `selectionIcon` forwarded from `CometChatUsersWithMessages`, `CometChatGroupsWithMessages`, `CometChatConversationsWithMessages` to `CometChatUsers`, `CometChatGroups`, `CometChatConversations` respectively.
90+
- Missing configurations `hideAppBar`, `submitIcon`, `selectionIcon` forwarded from `CometChatUsersWithMessages`, `CometChatGroupsWithMessages`, `CometChatConversationsWithMessages` to `CometChatUsers`, `CometChatGroups`, `CometChatConversations` respectively.
8991

9092

91-
## 4.2.1 - 4th February 2024
92-
93-
### Added
93+
## 4.2.1
94+
**Added**
9495
- onSchedulerMessageReceived listeners implemented in `CometChatMessageList`,`CometChatThreadedMessages`,`SmartReplyExtension`, `AIConversationStarter` , `AIConversationSummary` and `AiSmartReplyExtension`.
95-
- `hideAppBar` property added in `CometChatConversations`
96-
97-
98-
### Changed
96+
- `hideAppBar` property added in `CometChatConversations`
9997

98+
**Changed**
10099
- [CometChat Chat SDK](https://pub.dev/packages/cometchat_sdk) dependency upgraded to `cometchat_sdk: ^4.0.5`
101100
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.2.1`
102101

103102

104-
## 4.1.0 - 14th December 2023
105-
106-
### Added
107-
- components `AIAssistBot` and `AIConversationSummary`
108-
- dateSeparatorStyle in CometChatMessageList
109-
- apiConfiguration in `AIAssistBot`, `AIConversationStarter`, `AIConversationSummary` and `AISmartReplies`
110-
- support for customizing the AI option in `CometChatMessageComposer` using the properties: `aiIcon`, `aiIconURL`, `aiIconPackageName` and `aiOptionStyle`
111-
112-
113-
### Changed
103+
## 4.1.0
104+
**Added**
105+
- Components `AIAssistBot` and `AIConversationSummary`
106+
- DateSeparatorStyle in CometChatMessageList
107+
- ApiConfiguration in `AIAssistBot`, `AIConversationStarter`, `AIConversationSummary` and `AISmartReplies`
108+
- Support for customizing the AI option in `CometChatMessageComposer` using the properties: `aiIcon`, `aiIconURL`, `aiIconPackageName` and `aiOptionStyle`
114109

110+
**Changed**
115111
- [CometChat Chat SDK](https://pub.dev/packages/cometchat_sdk) dependency upgraded to `cometchat_sdk: ^4.0.4`
116112
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.7`
117113

118-
## 4.0.5 - 24th November 2023
119-
120-
### Fixed
114+
## 4.0.5
115+
**Fixes**
121116
- removed permission.MANAGE_EXTERNAL_STORAGE
122117

123-
### Changed
124-
118+
**Changed**
125119
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.5`
126120

121+
## 4.0.4
122+
**Added**
123+
- Support for Interactive Messages i.e Form Message and Card Message
124+
- Support for modifying margin and padding in CometchatListItem
127125

128-
## 4.0.4 - 13th November 2023
129-
130-
### Added
131-
- support for Interactive Messages i.e Form Message and Card Message
132-
- support for modifying margin and padding in CometchatListItem
133-
134-
### Changed
135-
126+
**Changed**
136127
- [CometChat Chat SDK](https://pub.dev/packages/cometchat_sdk) dependency upgraded to `cometchat_sdk: ^4.0.3`
137128
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.4`
138129

139-
140-
## 4.0.3 - 18th October 2023
141-
142-
### Fixed
130+
## 4.0.3
131+
**Fixes**
143132
- Emoji keyboard interferes with the virtual home button on iPhone
144133

145-
### Changed
134+
**Changed**
146135
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.3`
147136
- Class name AiExtension changed to AiExtension
148137
- Changed `smartReplyView` and `conversationStarterView` properties to `customView`
149138

150-
## 4.0.2 - 14th October 2023
151-
152-
### Added
153-
- support for modifying the color of the voice recording button in `CometChatMessageComposer` using `voiceRecordingIconTint` property of `MessageComposerStyle`.
154-
- support for custom attachment options, sound and ability to disable read receipts in `CometChatThreadedMessages`.
139+
## 4.0.2
140+
**Added**
141+
- Support for modifying the color of the voice recording button in `CometChatMessageComposer` using `voiceRecordingIconTint` property of `MessageComposerStyle`.
142+
- Support for custom attachment options, sound and ability to disable read receipts in `CometChatThreadedMessages`.
155143

156-
### Fixed
157-
- import issues of `AiConversationStarter`.
158-
- theme issues in `CometChatThreadedMessages`.
144+
**Fixes**
145+
- Import issues of `AiConversationStarter`.
146+
- Theme issues in `CometChatThreadedMessages`.
159147

160-
### Removed
161-
- unnecessary logs
148+
**Removed**
149+
- Unnecessary logs
162150

163-
## 4.0.1 - 13th October 2023
164-
165-
### Added
166-
167-
- support for ai features: `AiSmartReply` and `AiConversationStarter`
151+
## 4.0.1
152+
**Added**
153+
- Support for ai features: `AiSmartReply` and `AiConversationStarter`
168154
- `AiSmartReply` provides a list of replies generated using AI for a received message in a conversation
169155
- `AiConversationStarter` gives a list of opening messages generated using AI for starting a conversation when no messages have been exchanged between the participants in a conversation
170-
- a button has been added in `CometChatMessageComposer` tapping on which will list the enabled ai features
171-
172-
### Changed
156+
- Button has been added in `CometChatMessageComposer` tapping on which will list the enabled ai features
173157

158+
**Changed**
174159
- [CometChat Chat SDK](https://pub.dev/packages/cometchat_sdk) dependency upgraded to `cometchat_sdk: ^4.0.2`
175160
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.2`
176161

177-
## 4.0.0 - 5th September 2023
178-
179-
### Added
180-
181-
- support for handling events received when disconnected websocket connection is reestablished in `CometChatUsers`, `CometChatGroups`, `CometChatConversations` and `CometChatMessageList`.
182-
- support for handling calling events received in `CometChatConversations`
183-
- all Extension classes conform to the updated `ExtensionsDataSource` class by implementing new methods `addExtension` and `getExtensionId`.
184-
- properties to configure color of the sticker icon shown in `CometChatMessageComposer`.
185-
-
186-
187-
### Changed
162+
## 4.0.0
163+
**Added**
164+
- Support for handling events received when disconnected websocket connection is reestablished in `CometChatUsers`, `CometChatGroups`, `CometChatConversations` and `CometChatMessageList`.
165+
- Support for handling calling events received in `CometChatConversations`
166+
- All Extension classes conform to the updated `ExtensionsDataSource` class by implementing new methods `addExtension` and `getExtensionId`.
167+
- Properties to configure color of the sticker icon shown in `CometChatMessageComposer`.
188168

169+
**Changed**
189170
- [CometChat Chat SDK](https://pub.dev/packages/cometchat_sdk) dependency upgraded to `cometchat_sdk: ^4.0.1`
190171
- [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared) dependency upgraded to `cometchat_uikit_shared: ^4.0.1`
191-
- order of options shown for a message in `CometChatMessageList`
192-
- replaced implementation of `SoundManager` with `CometChatUIKit.soundManager`.
193-
- replaced implementation of `ChatConfigurator.getDataSource()` with `CometChatUIKit.getDataSource()`.
194-
195-
### Removed
172+
- Order of options shown for a message in `CometChatMessageList`
173+
- Replaced implementation of `SoundManager` with `CometChatUIKit.soundManager`.
174+
- Replaced implementation of `ChatConfigurator.getDataSource()` with `CometChatUIKit.getDataSource()`.
196175

176+
**Removed**
197177
- property `hideCreateGroup` from `CometChatGroupsWithMessages`
198178
- Emoji and `emojiIconTint` from `CometChatMessageComposer`
199-
- unused assets
200-
- dead code
201-
202-
### Fixed
203-
204-
- background color of message reactions
205-
206-
## 4.0.0-beta.2 - 7th August 2023
179+
- Unused assets
180+
- Dead code
207181

208-
### Added
182+
**Fixes**
183+
- Background color of message reactions
209184

210-
- support for audio and video calling through CometChat's call ui kit plugin.
185+
## 4.0.0-beta.2
186+
**Added**
187+
- Support for audio and video calling through CometChat's call ui kit plugin.
211188
- Messages information for sent messages.
212189
- Send audio recordings through CometChatMessageComposer.
213190
- Share messages to other applications on the device.
214191

215-
### Changed
216-
192+
**Changed**
217193
- Upgrade kotlin version for native code: 1.7.10.
218194
- Callback function signature for onMessageSend parameter in ComeChatMessageComposer.
219195

220-
### Removed
221-
196+
**Removed**
222197
- Shared module moved to a different package [cometchat_uikit_shared](https://pub.dev/packages/cometchat_uikit_shared).
223198

224-
225-
## 4.0.0-beta.1 - 22nd June 2023
226-
227-
- 🎉 first release!
199+
## 4.0.0-beta.1
200+
- 🎉 First release!

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
The CometChat <a href="https://pub.dev/packages/cometchat_chat_uikit"><strong>CometChat Chat UIKit</strong></a>. provides a pre-built user interface kit that developers can use to quickly integrate a reliable & fully-featured chat experience into an existing or a new app. <br/>
77

88
### Prerequisites
9-
- Flutter 3.10.5
10-
- Dart 3.0.5
9+
- Flutter >=3.10.5
10+
- Dart >=3.0.5
1111
- Android Studio 2022.2
12-
- Xcode 14.3
13-
- Android 9, API 28 and above
12+
- Android 5.0, API 21 and above
13+
- Xcode 15
1414
- iOS 12.0
1515

1616
## Getting Started

android/build.gradle

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,22 @@ rootProject.allprojects {
2121
}
2222
}
2323

24+
allprojects {
25+
repositories {
26+
google()
27+
mavenCentral()
28+
}
29+
}
30+
2431
apply plugin: 'com.android.library'
2532
apply plugin: 'kotlin-android'
2633

2734
android {
28-
compileSdkVersion 32
35+
if (project.android.hasProperty("namespace")) {
36+
namespace 'com.cometchat.cometchat_chat_uikit'
37+
}
38+
39+
compileSdk 33
2940

3041
compileOptions {
3142
sourceCompatibility JavaVersion.VERSION_1_8
@@ -40,17 +51,20 @@ android {
4051
main.java.srcDirs += 'src/main/kotlin'
4152
}
4253

54+
lintOptions {
55+
disable 'InvalidPackage'
56+
}
57+
4358
buildFeatures {
4459
buildConfig = true
4560
}
4661

4762
defaultConfig {
4863
minSdkVersion 21
49-
buildConfigField("String", "SDK_VERSION", "\"4.4.0\"")
64+
buildConfigField("String", "SDK_VERSION", "\"4.5.0\"")
5065
}
51-
}
5266

53-
dependencies {
54-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
55-
implementation 'androidx.appcompat:appcompat:1.4.1'
67+
dependencies {
68+
implementation 'androidx.appcompat:appcompat:1.4.1'
69+
}
5670
}

0 commit comments

Comments
 (0)