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

media notification artwork image not work at Android 14 #1066

Open
tazan2 opened this issue Mar 29, 2024 · 4 comments
Open

media notification artwork image not work at Android 14 #1066

tazan2 opened this issue Mar 29, 2024 · 4 comments

Comments

@tazan2
Copy link

tazan2 commented Mar 29, 2024

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

@fedpinx
Copy link

fedpinx commented May 20, 2024

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

@ryanheise
Copy link
Owner

There is no loadThumbnailUri anywhere in main.dart.

@AbbasJafariTrax
Copy link

Any update?

@AbbasJafariTrax
Copy link

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?

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

4 participants