Skip to content

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

Open
@topex-psy

Description

@topex-psy

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(),
  )
);

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions