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

Notification meta image displayed in very low quality (very pixelated) #860

Open
topex-psy opened this issue Jan 4, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@topex-psy
Copy link

Flutter Version

My version : 3.27.1

Lib Version

My version : 3.1.1

Platform (Android / iOS / web) + version

Platform : Android

Describe the bug

I use 1920x1080 pixels .jpg for the picture, but it displayed in very low quality (very pixelated) in the audio notification.

Screenshot_2024-12-28-10-00-17-102_com tarra alquran debug

Small code to reproduce

final audioMeta = Metas(
  id: pref,
  title: surahVerse,
  album: surahCaption,
  artist: APP_NAME,
  image: const MetasImage.asset("assets/images/banner.jpg"),
);

final audio = Audio.network(audioURL, metas: audioMeta);

assetsAudioPlayer.open(
  audio,
  volume: volume,
  loopMode: repeat.loopMode,
  autoStart: play,
  showNotification: true,
  notificationSettings: NotificationSettings(
    customNextAction: (_) => onNext?.call(),
    customPrevAction: (_) => onPrev?.call(),
  )
);
@topex-psy topex-psy added the bug Something isn't working label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants