Skip to content

Bug: Voice Message Waveform missing/flat in iOS Release build (v8.8.1) #3397

@bilawalshaikh

Description

@bilawalshaikh

Description
Audio waveforms for voice messages function correctly in Debug mode on iOS but fail to capture/display frequency data (rendering a flat line) in Release builds.

Environment
SDK: stream-chat-react-native
SDK Version: 8.8.1
Platform: iOS (Physical Device)
Audio Library: Nitro Sound (replacing deprecated react-native-audio-recorder-player)
React Native Version: [Your RN Version, e.g., 0.79.2]

Steps to Reproduce
Record a voice note using a physical iOS device in a Debug scheme. Observe the waveform working.
Build the app using the Release scheme (Build Configuration: Release).
Record a voice note on the same device.
Observe that the waveform display is empty or flat during and after recording.

Expected Behavior
The frequency/wavelength visualization should be captured and displayed in both Debug and Release modes.

Actual Behavior
In Release mode, the waveform data appears to be empty (all zero values), resulting in a flat line in the UI.

Additional Context
This appears to be related to how the Stream UI components consume the frequency buffer when the JS bundle is minified/optimized in Release mode, or a potential conflict with native audio session priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions