zmxv / react-native-sound

React Native module for playing sound clips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

CodeGradientsProjects opened this issue · comments

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

🪲 What is the observed behavior?

🪲 What is the expected behavior?

🪲 Please post your code:

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

💡 Does the problem have a test case?

💡 Possible solution

💡 Is there a workaround?

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

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:
  • React Native:
  • iOS:
  • Android:
  • Windows:

Does the problem occur on...

  • Simulator
  • Device

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

  • Device: