-
Notifications
You must be signed in to change notification settings - Fork 856
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
iOS player crash #1011
Comments
I think the issue was with having spaces in the audio url. I'll close this once I can confirm this. |
In my case that was the problem, and make sure the file has extension, thanks RukshanJS! |
Closing in favor of #748 |
I am getting the same error. I don't have any space in url I checked. Using version 4.1.0 and flutter version 3.10.1. |
@ahmed-raza-92 if you don't have a space in url, then probably it's another issue. Feel free to open one with your url. |
In iOS 15 emulator, whenever try to play an audio using a (network) url, the whole flutter application crashes.
Full Description
The audioplayers
play
method crashses the whole flutter app in iOS when try to play a url music. This worked without such an issue before upgrading the flutter version from 2.2 to 2.5. Also, I have upgraded the xcode to the latest version 13.0. But no such issue is present and perfectly works in android without issues.I also did
flutter clean
and re ran a several times, but still the issue persists in iOS.Code to Reproduce
audioPlayer.play(url_from_network);
Logs
Platforms
The text was updated successfully, but these errors were encountered: