amugofjava / anytime_podcast_player

Simple, easy to use Podcast player app written in Flutter and Dart.
BSD 3-Clause "New" or "Revised" License
376 stars 99 forks source link

Notification shade can be swiped away during playback on Android 11 and above #109

Open amugofjava opened 7 months ago

amugofjava commented 7 months ago

Describe the bug The notification control allows users to play, pause, forward and rewind playback from the notification shade. When in a paused state, it is also possible to swipe the notification away to stop playback; however, on Android 11 and above it is possible to swipe the notification away whilst an episode is playing. This removes the notification but does not stop playback living it out of sync.

To Reproduce Steps to reproduce the behavior:

  1. On a Device running Android 11 or above.
  2. Start playback of an episode.
  3. Pull down the notification shade.
  4. Swipe the notification away.

Expected behavior Playback should either stop when swiped away, or the same behaviour - as observed on Android 10 and below - should be followed making it only possible to swipe away the notification when in a paused state.

Screenshots

notification-bug.webm

Smartphone (please complete the following information):