Flutter-AssetsAudioPlayer icon indicating copy to clipboard operation
Flutter-AssetsAudioPlayer copied to clipboard

wrong playerState on IOS

Open pinpong opened this issue 2 years ago • 2 comments


audioPlayer.stop();

audioPlayer.playerState.listen((event) {...});

IOS: PlayerState.pause Android: PlayerState.stop

What i expect: Same PlayerState as on Android

pinpong avatar May 23 '23 18:05 pinpong

I'm finding the same issue on my device. When calling stop() on a player, on iOS the state is returned as PlayerState.pause

cmenkemeller avatar Oct 26 '23 12:10 cmenkemeller

@pinpong If you still need this functionality, feel free to use my fork until the PR is merged.

cmenkemeller avatar Oct 26 '23 23:10 cmenkemeller