-
Notifications
You must be signed in to change notification settings - Fork 303
Description
I’m currently trying to implement the audio feature using Exyte Chat v2.7.4.
I’ve seen and followed the guidance from this issue: #198, and I updated everything accordingly.
However, the audio feature still isn’t working on my end.
The UI appears correctly, but no audio is recorded. The audio indicator remains inactive, and when checking the iPhone Control Center during recording, the microphone icon stays greyed-out at the end (as if the system never registered any audio session).
Here is the part of my implementation:
private let recorderSettings = RecorderSettings()
ChatView(messages: (translationState == .done) ? viewModel.data?.translateMessages ?? [] : viewModel.data?.messages ?? [], chatType: .conversation, replyMode: .quote) { draft in
print("DRAFT = \(draft)")
viewModel.sendMessage(chatId: chatId, draft)
} messageMenuAction: { (action: Action, defaultActionClosure, message) in
...
}
.setAvailableInputs([.text, .media, .audio])
.setRecorderSettings(recorderSettings)
Expected behavior:
Audio should start recording when interacting with the audio UI component, and the microphone indicator should turn active.
Actual behavior:
UI displays correctly, but:
• No sound is captured
• Control Center sound stays greyed out
• Nothing is saved or passed to the Chat controller
iOS 26.1