google / flutter.plugins

BSD 3-Clause "New" or "Revised" License
117 stars 55 forks source link

Fix potential iOS 13 crash #57

Open monkeyswarm opened 4 years ago

monkeyswarm commented 4 years ago

Based on https://openradar.appspot.com/radar?id=5059066896318464

spotted in this codebase's use of avaudioplayer and delegate

From colleague: "It would hit if FLTManagedPlayerDelegate calls back into ManagedPlayer in a way that caused -[ManagedPlayer releasePlayer] to be called"

arodriguezgb commented 4 years ago

I am having an issue where the app crashes while playing audio on the background on ios13. It happens after maybe 3 songs, I'm still trying to debug, not sure if it has anything to do with this. But Im trying to gather more information to provide and maybe see when and why the crash happened.