firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.66k stars 3.96k forks source link

🐛 [firebase_messaging] Missing support for communication notifications (dynamic icon avatar) #10608

Closed fullflash closed 1 year ago

fullflash commented 1 year ago

Hi. it seems firebase service or client side plugin has no support for push notifications with dynamic icon. Like you can see in slack whatsapp the users avatar instead of application icon.

Did not find anything in docs.

Will there be a support ?

darshankawar commented 1 year ago

@fullflash Take a look at this link and see if it helps.

fullflash commented 1 year ago

Yes but you cannot release an app with users avatar all the time) It should be dynamic like whatsapp does And this is push notifications should be natively implemented inside plugin.

On Wed, 15 Mar 2023 at 17:23 darshankawar @.***> wrote:

@fullflash https://github.com/fullflash Take a look at this https://stackoverflow.com/questions/43303218/dynamic-notification-icon-for-firebase-cloud-messaging link and see if it helps.

— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/10608#issuecomment-1470006321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVLNPE6FFXDDOODASLMNRDW4G7GVANCNFSM6AAAAAAV3WZBRU . You are receiving this because you were mentioned.Message ID: @.***>

darshankawar commented 1 year ago

It should be dynamic like whatsapp does

I am not sure what this means. I couldn't find any reference for such request in native SDK as well.

And this is push notifications should be natively implemented inside plugin.

Do you mean at Dart side or native (Android or iOS) ?

google-oss-bot commented 1 year ago

Hey @fullflash. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

fullflash commented 1 year ago

Hi. this is communication notifications request like in many communication apps. there is a ios plugin https://github.com/lambiengcode/ios_communication_notification also you can see the apple docs https://developer.apple.com/documentation/usernotifications/implementing_communication_notifications

Everyone is using whatsapp and you can see the senders avatar in push notifications for android and ios platforms.

P.S it is a feature like notification service but it is for using custom avatar you can see in the apple docs.

https://firebase.flutter.dev/docs/messaging/apple-integration/#step-1---add-a-notification-service-extension

darshankawar commented 1 year ago

@fullflash Since the plugin is a thin wrapper around native SDK, I think the said feature will need to be implemented at native side which the client side can leverage.

google-oss-bot commented 1 year ago

Hey @fullflash. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 1 year ago

Since there haven't been any recent updates here, I am going to close this issue.

@fullflash if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.