RNSound.IsAndroid bug
See original GitHub issueReact Native - 0.42.0 React Native Sound - 0.9.1
I have only this snippet of code, nothing special:
const whoosh = new Sound(requireAudio, (error) => {
if (error) {
console.log('error', error);
} else {
whoosh.setSpeed(1);
console.log('duration', whoosh.getDuration());
whoosh.play(() => whoosh.release());
}
});
but the error is shown when it’s trying to import the module, not on execution
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:16 (2 by maintainers)
Top Results From Across the Web
RNSound.IsAndroid error (React Native) - Stack Overflow
Most of the time this error means the package was not linked correctly. To confirm if this is the case:- Go to android/app/src/main/java/....
Read more >null is not an object (evaluating 'RNSound.IsAndroid') #618
Description I tried installing and using this package for playing an audio file which I fetch from an API. What have you tried?...
Read more >react-native-sound/Help - Gitter
im getting the issue undefined is not an object (evaluating 'RNSound.ISAndroid') , i already ran react-native link react-native-sound. Rodrigo Wippel.
Read more >[Solved]-RNSound.IsAndroid error (React Native)
Coding example for the question RNSound.IsAndroid error (React Native)-React Native.
Read more >Using sound in React Native | Code and Stuff
Should. In practice, it didn't. Instead, it kept giving me the error: null is not an object (evaluating 'RNSound.IsAndroid').
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Manually adding libRNSound to ‘Linked Farmeworks…’ in XCode resolved for me
For anyone stuck at this, you are probably forgetting rebuilding. ie: Uninstalling the APK and running
react-native run-android
to build and deploy apk again.Native android libraries that you just linked need to be deployed. They can’t be hot-reloaded.