Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when app is in background. And taking a call and disconnecting call #364

Open
kunalzigma opened this issue Oct 22, 2024 · 1 comment
Assignees
Labels

Comments

@kunalzigma
Copy link

Hi,

I was testing this library as replacement to AVAudioPlayer.

I have added an instance of AudioPlayer() in singleton and using the same across the app to play different url sounds.

Testing this library with my app in testflight and received this crash.

Attached crash report.

2024-10-22_13-17-02.3619_+0530-322f36753e6c0b7de2b888e8384b767da350a054.crash.zip

@kunalzigma
Copy link
Author

kunalzigma commented Oct 22, 2024

Was able to recreate this issue in these scenarios -

1 - Audio is played and finished playing successfully, app is minimised, call taken , crash happens.
2 - Audio is played and app is minimized during that, call taken, crash happens.
3 - Audio is playing, call taken , app minimised , crash happens.

I was able to take the screenshot in Xcode

Thanking spam calls atleast they are useful somewhere ;) otherwise this library works great for us.

Screenshot 2024-10-22 at 4 23 21 PM

@sbooth sbooth self-assigned this Oct 22, 2024
@sbooth sbooth added the bug label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants