Useless background audio player when changing channels or when the audio has finished playing

(#2039) Bug Confirmed media mobile

Observed behaviour

Unfortunately, the background audio controls do nothing once the audio has finished playing. The same behavior happens if you play a longer audio file and interrupt playback by changing channels.

Reproduction steps

  1. Play any audio attachment (e.g. https://web.canary.fluxer.app/channels/1427764813854588940/1427764813854588943/1536596318380621824 )
  2. Wait until it has finished playing
  3. Pull down the notification drawer

Build information

Version 1.0.0, Beta 49, Channel Beta, Build 2273, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.44.9, Dart 3.12.2

Platform

Android

Details

Expected behaviour Since the audio has finished the background player controls should also go away. Or, the background controls should be able to play the audio again.
  • image.png

    image.png

    1077×764 | 128 kB

  1. Rex changed the status from Needs triage to Confirmed

2 comments

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Version 1.0.0, Channel Canary, Build 2318, Android 15 (arm64), Device OnePlus CPH2465, Locale en-GB, Push fcm, Flutter 3.47.0, Dart 3.13.0