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

wrong playerState on IOS #775

Open
pinpong opened this issue May 23, 2023 · 2 comments
Open

wrong playerState on IOS #775

pinpong opened this issue May 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pinpong
Copy link

pinpong commented May 23, 2023

audioPlayer.stop();

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

IOS: PlayerState.pause
Android: PlayerState.stop

What i expect:
Same PlayerState as on Android

@pinpong pinpong added the bug Something isn't working label May 23, 2023
@cmenkemeller
Copy link
Contributor

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 added a commit to cmenkemeller/Flutter-AssetsAudioPlayer that referenced this issue Oct 26, 2023
Fix for florent37#775 where play status was returning pause instead of stop on iOS
@cmenkemeller
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants