zmxv / react-native-sound

React Native module for playing sound clips
MIT License
2.78k stars 749 forks source link

Undefined is not an object (evaluating 'RNSound.IsAndroid') with Viro-Media #668

Closed Peege151 closed 4 years ago

Peege151 commented 4 years ago

:beetle: Description

I've seen the other issues here, but most people are running 62.2. I've tried upgrading from 59.9 to 61.2... That did more harm than good, and despite other problems that upgrade caused, it still caused the same build error.

If anyone else has solved this problem I'd appreciate the help

Running React Native: 59.9 :beetle: What is the observed behavior? Build errors

undefined is not an object (evaluating 'RNSound.IsAndroid')

**Is your issue with...** - [x ] iOS - [ ] Android - [ ] Windows **Are you using...** - [ x] React Native CLI (e.g. `react-native run-android`) - [ ] Expo - [x] Other: (please specify) **Which versions are you using?** - React Native Sound: 0.11.0 - React Native: 59.9 / 62.2 - iOS: 13.3.1 **Does the problem occur on...** - [ ] Simulator - [x] Device Also I am using Viro-Media, but i don't think it matters... react native serves the bundle to the app, so the error happens before that.. **If your problem is happening on a device, which device?** - Device: iPhone 11, iOS 13.3.1