Skip to content

Commit f899459

Browse files
chore!: ⬆️ Update package versions and refactor voice recording settings (#61)
1 parent 6f87100 commit f899459

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
`chatRoomChangesStream()` in ChatManager for real-time chat room updates.
88
* **Feat**: [51](https://github.com/SimformSolutionsPvtLtd/chatview_connect/pull/51) Added
99
`onLoadMoreData()` and `loadOldReplyMessage()` in ChatManager to fetch older messages and replies.
10+
* **Breaking**: [61](https://github.com/SimformSolutionsPvtLtd/chatview_connect/pull/61) Update package
11+
versions and refactor voice recording settings
1012

1113
## 0.0.1
1214

example/lib/modules/chat_list/widgets/chatview_custom_chat_bar.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,8 @@ class _ChatViewCustomChatBarState extends State<ChatViewCustomChatBar> {
383383

384384
if (!isRecording.value) {
385385
await controller?.record(
386-
sampleRate: voiceRecordingConfig.sampleRate,
387-
bitRate: voiceRecordingConfig.bitRate,
388-
androidEncoder: voiceRecordingConfig.androidEncoder,
389-
iosEncoder: voiceRecordingConfig.iosEncoder,
390-
androidOutputFormat: voiceRecordingConfig.androidOutputFormat,
386+
recorderSettings:
387+
voiceRecordingConfig.recorderSettings ?? const RecorderSettings(),
391388
);
392389
isRecording.value = true;
393390
} else {

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ dependencies:
3535
# The following adds the Cupertino Icons font to your application.
3636
# Use with the CupertinoIcons class for iOS style icons.
3737
cupertino_icons: ^1.0.2
38-
firebase_core: ^3.13.0
39-
cloud_firestore: ^5.6.7
38+
firebase_core: ^4.3.0
39+
cloud_firestore: ^6.1.1
4040
uuid: ^4.5.1
4141
intl:
42-
audio_waveforms: ^1.3.0
43-
chatview: ^2.5.0
42+
audio_waveforms: ^2.0.1
43+
chatview: ^3.0.0
4444

4545
flutter_svg: ^2.1.0
4646

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ environment:
2323
dependencies:
2424
chatview_utils: ^3.0.0
2525

26-
cloud_firestore: ^5.6.7
27-
firebase_storage: ^12.4.5
26+
cloud_firestore: ^6.1.1
27+
firebase_storage: ^13.0.5
2828

2929
flutter:
3030
sdk: flutter

0 commit comments

Comments
 (0)