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

Some Android devices are experiencing issues with the play and pause buttons in the notification tray. When users click on the stop button, the audio stops, but the play button does not appear. #1067

Open
srinivas1100 opened this issue Apr 27, 2024 · 7 comments

Comments

@srinivas1100
Copy link

Documented behaviour

Yes! audio_service is designed to let you implement the audio logic however you want, using whatever plugins you want.

Actual behaviour

Some Android devices are experiencing issues with the background play and pause buttons.

Runtime error

It's not showing any errors in the console.

Minimal reproduction project

Official example: main.dart

Reproduction steps

  1. This is a device-specific issue.
  2. Run the example project on any of the tagged devices below.
  3. In the background, the player is playing audio. Once the pause button is clicked, the audio pauses, but the background player does not update the pause button. When the button is clicked again, the same function is called again.

Output of flutter doctor

[✓] Flutter (Channel stable, 3.19.5, on macOS 14.3 23D56 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.88.1)
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!```
### Devices exhibiting the bug
1. Realme device OS 12
2. MI device OS 12
3. Oneplus OS 12
@harpreetslabs
Copy link

+1

@ryanheise
Copy link
Owner

Which devices?

@harpreetslabs
Copy link

One plus (androoid 14)

@mybna134
Copy link

I also have the issue with my Vivo V2164A (Android11)

@79121262
Copy link

+1

@Hich2000
Copy link

Hich2000 commented Oct 8, 2024

Also happens for me on one plus nord 2t running android 14

@wangya123456789
Copy link

vivo ran into the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants