audio_service icon indicating copy to clipboard operation
audio_service copied to clipboard

media notification artwork image not work at Android 14

Open tazan2 opened this issue 1 year ago • 4 comments

Documented behaviour

MediaItem toMediaItem() => MediaItem( id: id.toString(), album: album, artist: artist, title: title, artUri: Uri.parse(artUri), duration: duration, extras: <String, dynamic>{ 'loadThumbnailUri': uri, }, );

Actual behaviour

i see artwork image at android 13 but cannot see android 14 but another ytmusic shows artwork at android 14 media notification area

Runtime error

no error

Minimal reproduction project

Official example: main.dart

Reproduction steps

try at android 13 and android 14

Output of flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.4, on Microsoft Windows [Version 10.0.22621.3296], locale ko-KR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.9.5)
[√] Android Studio (version 2022.2)
[√] IntelliJ IDEA Community Edition (version 2021.1)
[√] VS Code (version 1.87.2)
[√] Connected device (6 available)
[√] Network resources

Devices exhibiting the bug

android 14 emulator and galaxy z-flip 3

tazan2 avatar Mar 29 '24 03:03 tazan2

Same here, I cannot even see title, description, anything. Were you able to fix it or do a workaround? Thanks.

fedpinx avatar May 20 '24 23:05 fedpinx

There is no loadThumbnailUri anywhere in main.dart.

ryanheise avatar May 21 '24 01:05 ryanheise

Any update?

AbbasJafariTrax avatar Nov 14 '24 05:11 AbbasJafariTrax

Same here, I cannot even see title, description, anything. Were you able to fix it or do a workaround? Thanks.

Did you find any solution?

AbbasJafariTrax avatar Nov 14 '24 05:11 AbbasJafariTrax