zmxv / react-native-sound

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

Unable to Play or Pause from Component. Says that the object is null. #780

Open CodeGradientsProjects opened 2 years ago

CodeGradientsProjects commented 2 years ago

onPress={() => { soundBackupObj.pause(); }}>:beetle: Description

:beetle: What is the observed behavior?

:beetle: What is the expected behavior?

:beetle: Please post your code:

onPress={() => { soundBackupObj.pause(); }}>

:bulb: Does the problem have a test case?

:bulb: **Possible solution**

:bulb: Is there a workaround?

:bulb: If the bug is confirmed, would you be willing to create a pull request?

Is your issue with...

Are you using...

Which versions are you using?

Does the problem occur on...

If your problem is happening on a device, which device?