-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Description
Before submitting a new issue
- I tested using the latest version of the library, as the bug might be already fixed.
- I tested using a supported version of react native.
- I checked for possible duplicate issues, with possible answers.
Bug summary
When using react-native-nitro-sound, sound playback works perfectly in debug builds but fails silently in release builds on Android.
- No JavaScript error is thrown
- No native crash occurs
- The sound simply does not play
The same code and same sound file work in debug
react-native-nitro-modules: 0.31.10
react-native-nitro-sound: 0.2.10
react-native: 0.80.2
Library version
0.2.10
Project type
React Native (bare workflow)
React Native version
0.80.2
Expo SDK version (if applicable)
No response
Environment info
System:
OS: macOS 15.7.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 37.96 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.9.0
path: /Users/macbookpro/.nvm/versions/node/v22.9.0/bin/node
Yarn:
version: 3.6.4
path: /Users/macbookpro/.nvm/versions/node/v22.9.0/bin/yarn
npm:
version: 10.8.3
path: /Users/macbookpro/.nvm/versions/node/v22.9.0/bin/npm
Watchman:
version: 2025.06.30.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/macbookpro/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.2
- iOS 26.2
- macOS 26.2
- tvOS 26.2
- visionOS 26.2
- watchOS 26.2
Android SDK:
API Levels:
- "29"
- "31"
- "33"
- "34"
- "35"
- "36"
Build Tools:
- 29.0.2
- 30.0.2
- 30.0.3
- 33.0.0
- 33.0.1
- 34.0.0
- 35.0.0
- 36.0.0
- 36.1.0
System Images:
- android-35 | Google Play Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2412.12266719
Xcode:
version: 26.2/17C52
path: /usr/bin/xcodebuild
Languages:
Java:
version: 21.0.8
path: /usr/local/opt/openjdk@21/bin/javac
Ruby:
version: 3.2.2
path: /Users/macbookpro/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 19.1.1
wanted: 19.1.1
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.80.2
wanted: 0.80.2
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: trueSteps to reproduce
- Add an audio file
- Trigger sound playback β β sound plays
- Install the release APK on a physical device
- Trigger sound playback β β no sound plays
Reproducible example repository
N/A
Metadata
Metadata
Assignees
Labels
No labels