Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StreamAudioRecorder.beginRecording() interfering with haptic feedback and system sounds #682

Open
steookk opened this issue Dec 5, 2024 · 1 comment

Comments

@steookk
Copy link

steookk commented Dec 5, 2024

What did you do?

I noticed the haptic feedback was most of the times not generated when long pressing the mic in the message composer to record an audio. It is however always generated when stopping the recording.
I added a simple system sound in this function and it plays something like 70% of the times.

What did you expect to happen?

Both the sound and the haptic feedback should work 100% of the times, and in fact they do if we comment audioRecorder.beginRecording out.

What happened instead?

They are generated sometimes.

GetStream Environment

GetStream Chat version:4.64.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version:17 and 18(simulator)
Swift version:6.0
Xcode version:16.0
Device:iPhone 13 Mini

Additional context

@laevandus
Copy link
Contributor

Hi @steookk, thank you for the report. We will investigate this one and will get back to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants