jiusanzhou / flutter_notification_listener

Flutter plugin to listen for and interact with all incoming notifications for Android. 一个监听手机通知的插件。
https://pub.dev/packages/flutter_notification_listener
Other
40 stars 49 forks source link

How to get the full resolution image from the notification? #60

Open shindeshubhamm opened 2 weeks ago

shindeshubhamm commented 2 weeks ago

I'm not able to get the full resolution image sent with the notification. The largeIcon field is only able to provide the thumbnail. This is a very low resolution image (may be the one which is shown when notification is not collapsed).

The image shown here is what I'm able to grab: image

This is what I wish to retrieve: image

jiusanzhou commented 2 weeks ago

@shindeshubhamm AFAIK, there are some issues with the large image field exported, hence this field is ignored in current implementation. Every welcome if you want to fix this.

https://github.com/jiusanzhou/flutter_notification_listener/blob/master/android/src/main/kotlin/im/zoe/labs/flutter_notification_listener/NotificationEvent.kt#L86C9-L97C10