react-native-sound icon indicating copy to clipboard operation
react-native-sound copied to clipboard

Not working on Windows: Cannot read property 'IsAndroid' of undefined

Open fadeomar opened this issue 4 years ago • 3 comments

var RNSound = require('react-native').NativeModules.RNSound;
var IsAndroid = RNSound.IsAndroid;

image

I've tried to remove the node_modules and install again and reboot every thing! but still facing the the same error; I've tried to log the require('react-native').NativeModules but the `RNSound wasn't there

fadeomar avatar Jan 23 '22 14:01 fadeomar

https://stackoverflow.com/questions/70823585/react-native-sound-not-working-on-windows-cannot-read-property-isandroid-of-u/71161805#71161805

fadeomar avatar Feb 17 '22 16:02 fadeomar

I am also facing this issue while running on windows. What is the solution?

Adbhutashra avatar Feb 02 '24 09:02 Adbhutashra