Hey Guys,
I have an app which lets the user play short sound snippets. Unfortunatly, when the user plays the sound and then closes the app, the sound keeps playing… Any ideas on how to prevent that?
I saw a topic recently that said this issue was fixed.
Is this happening in a published app, a downloaded app, or Thunkable Live?
iOS or Android?
2 Likes
Our app is in testflight / Android Beta right now. I just checked it on android (published). There the sound keeps playing. I will test it on ios later today.
This was an issue I reported in Thunkable Live but it was apparently fixed:
opened 09:33AM - 05 Dec 20 UTC
closed 02:18PM - 13 May 21 UTC
bug
follow up
moved
### Platform
Thunkable X
### Issue/Request Origin
### Steps to Reproduce
…
1. Open https://x.thunkable.com/copy/4d20e68a037d7f0bc5312410ad9e389d, change "stop" block to "play."
2. Song will begin playing immediately.
3. Change "play" block to "stop."
4. Click Live Test.
5. Close preview.
6. The song now stops because of the "stop" block. But previewing a song that is playing and then closing the preview does not stop the song. It continues playing in the browser.
Could this be related to this issue? https://community.thunkable.com/t/sound-function-buggy/1021944/2
### Project Link
https://x.thunkable.com/copy/4d20e68a037d7f0bc5312410ad9e389d
### Expected Behavior
Not this!
### Actual Behavior
See above
```
STACK TRACE AND/OR SCREENSHOTS
```
Here's a screencast of the issue: https://drive.google.com/file/d/1cxK3Un_43Bmn8HpS9csvIjCUDbNsYvIK/view
You might add a comment there to see if it’s related…?
2 Likes