-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined is not an object (evaluating 'RNSound.IsAndroid') #471
Comments
I'm running into this exact same issue and all I have is
|
You need to link your library. Use "react-native link react-native-sound" |
AilsonFreire, I have checked that option, no effect. |
I too faced this problem. 'react-native link react-native-sound' didn't work for me I managed to resolved this error by following the manual linking steps |
Udbhav12, how you managed to resolve that issue, could you please describe the manual linking steps? |
@aspitsyn - Manual installation notes are mentioned in the docs. Refer to the below link https://github.com/zmxv/react-native-sound/wiki/Installation |
Manual installation does not work for me. |
A solution which worked for me :
|
Have you tried to install Pods after linking? |
This is happening for me, and my project is iOS only. Running on my iPhone X. |
It might be something related to permissions, I managed to solved it by adding permissions to Manifest in android folder, using the next line of code.
But I am not sure about Expo implementation, do not know if it comes configured out of the box. Go check react-native-sound npm package read me description. |
have you find any solution & resolve the issue ? |
I have the same problem on android. |
I am resolved this issue by manually link library in X code, actually i did react-native link that is not giving any error so assume it's linked but when i have checked xcode then see this library is not linked so when i have linked manually and create new build then it's working perfectly. |
If you're still having this problem, could you please post a link to a project that reproduces the problem, give information about your environment, and say what steps you have already tried? This is the most common issue faced by react-native-sound users and it would be good to add documentation listing the possible resolutions. A pull request would be welcome; I've opened #592 to track that. |
Hi,
![screenshot 2018-07-31 08 18 40](https://user-images.githubusercontent.com/15245068/43439140-61d1cd18-949a-11e8-86d5-6e47493b5875.png)
I run react-native expo and IPhone X emulator on MacOS but I keep getting
"undefined is not an object (evaluating 'RNSound.IsAndroid')" error on emulator IPhone X.
Can anyone help please with that issue?
react-native-cli: 2.0.1
react-native: 0.55.4
react-native-sound: 0.10.9
The text was updated successfully, but these errors were encountered: