ERROR TypeError: null is not an object (evaluating 'RNSound.IsAndroid')
hijodigital opened this issue · comments
The most credited fix documented to resolve this error suggests:
react-native link react-native-sound
// error: unknown command 'link'
cd ios
// I don't have this folder
npx pod-install
// Need to install the following packages:
// pod-install@0.1.38
// Ok to proceed? (y) y
// Scanning for pods...
// CocoaPods is not supported in this project
I tried clearing caches by starting Expo with expo start -c
, but I get the same error.
The application throws error:
ERROR TypeError: null is not an object (evaluating 'RNSound.IsAndroid')
Is your issue with...
- iOS
- Android
- Windows
Are you using...
- React Native CLI (e.g.
react-native run-android
) - Expo
- Other: (please specify)
Which versions are you using?
- React Native Sound: 0.11.2
- React Native: 0.70.5
- iOS: 16.1
Does the problem occur on...
- Simulator
- Device