Open SNWStaff opened 3 years ago
I'm also seeing this issue, works fine in the simulator but not in release apps. It seems to happen intermittently for me though, seemingly at random.
as it was said in https://github.com/zmxv/react-native-sound/issues/690
try adding Sound.setCategory('Playback');
it helped me with "no sound" issue
That did help, I also had to do sound.setCurrentTime(0)
before playing the sound.
:beetle: Description
Hello, I am currently developing an application that allows me to play music when I receive a voip push notification. I explain, when I receive the notification, the application opens in background and plays the music. In debug I have absolutely no problem, but since I put the application in production I can't play the music anymore. The application is in production thanks to the app distribution of firebase and app Tester for the moment.
:beetle: What have you tried?
I'm currently trying to code / cut out the options in Xcode related to the audio and background modes. I tried to change the playback modes ( Ambient and Playback )
Is your issue with...
Are you using...
react-native run-android
)Which versions are you using?
Does the problem occur on...
If your problem is happening on a device, which device?