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

Cannot remove volume button in the iOS notification, and it does not work in background #1076

Open
Roman4466 opened this issue Jun 17, 2024 · 0 comments

Comments

@Roman4466
Copy link

Documented behaviour

Readme
Changelog
Example
Installing
Versions
Scores
audio_service
This plugin wraps around your existing audio code to allow it to run in the background and interact with the media notification, the lock screen, headset buttons, wearables and Android Auto. It supports Android, iOS, web and Linux (via audio_service_mpris). It is suitable for:

Music players
Text-to-speech readers
Podcast players
Video players
Navigators
More!
How does this plugin work?
You encapsulate your audio code in an audio handler which implements a set of standard system callbacks to handle media playback requests from different sources in a uniform way:

Actual behaviour

On click on volume button in the notification in background, the notification just removes for a second from notification bar and then reappears without changing volume level.

Minimal reproduction project

Official example: main.dart

Reproduction steps

  1. Launch the app on the iOS device / simulator.
  2. Put the app in the background.
  3. Go to the notification bar
  4. Click on volume button

Output of flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale
    en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.3.3)
[✓] VS Code (version 1.90.1)
[✓] Connected device (5 available)
    ! Error: Browsing on the local area network for iPad Roman. Ensure the
      device is unlocked and attached with a cable or associated with the same
      local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code
      -27)
[✓] Network resources

• No issues found!```
### Devices exhibiting the bug
iPad (10th generation)
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

1 participant