ryanheise / just_audio

Audio Player
1.03k stars 652 forks source link

Customizing Notification Controls #1158

Closed Joe2316 closed 8 months ago

Joe2316 commented 8 months ago

I'm looking to customize the notification controls. Specifically, I'd like to disable the next and previous buttons in the notifications or hide the notifications entirely. how i fix it?

Minimal reproduction project wait JustAudioBackground.init( androidNotificationChannelId: 'com.ryanheise.bg_demo.channel.audio', androidNotificationChannelName: 'Audio playback', androidNotificationOngoing: false, );

To Reproduce (i.e. user steps, not code)


**Expected behavior**

**Screenshots**

**Desktop (please complete the following information):**
 - Windows 10

**Smartphone (please complete the following information):**
Device: Pixel 4
OS: Android 13.0

**Flutter SDK version**
[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [Version 10.0.19044.3086], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.0)
[√] Android Studio (version 2022.1)
[√] VS Code (version 1.82.2)
[√] Connected device (4 available)
[√] Network resources
insert output of "flutter doctor" here

Additional context

github-actions[bot] commented 8 months ago

Oops, it appears that your issue did not follow the template and is missing one or more required sections. Please open a new issue, and provide all required sections and information.

FAQ:

  1. Do I really need to submit a minimal reproduction project for a bug? A: Yes. I prioritise bugs secondarily on how many people are affected, and primarily on whether the bug report is complete, in the sense that it enables me to immediately reproduce it and start working on a fix. If a bug is important to you, the best thing you can do is to provide all requested information ASAP so that I can start looking into it ASAP.

  2. I think I supplied all required information, so did the bot make a mistake? A: The bot only checks the section headings, so when you post a new issue, make sure you leave the section headings intact. (Note that because of this, it is even possible to trick the bot by including only the section headings, and then not providing the requested information under each heading. This is frowned upon, and the issue will be closed manually.)

ryanheise commented 8 months ago

Again? Please try not to create too many invalid issues, it makes it difficult for me to wade through.

github-actions[bot] commented 8 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.