quickstart-unity icon indicating copy to clipboard operation
quickstart-unity copied to clipboard

FR: Custom Action Buttons in Notification

Open GoShikhar opened this issue 3 years ago • 0 comments

Feature proposal

  • Firebase Component: Messaging

I have read many docs and couldn't find a way to have Action Buttons on the notification such as "Like" or "Reply" out of the box when a Unity game is not in the foreground. It's done by having 'actions' field in the data payload which then gets parsed by an android app, but in Unity if the app is not running, there is no way out of the box (as of now) to show these custom action buttons on the notification. Support for this, out of the box, would be very useful as games that use in-app messaging or friend requests/challenge requests will greatly benefit from this feature, as the user can then respond to friend requests/challenge requests right from the notification.

As per my understanding, this will have to be done in the activity that comes with the messaging SDK.

One of the FCM competitors, OneSignal, does provide this functionality right out of the box for Unity but being a Firebase fan I would really want this feature to be added in the Firebase Unity SDK.

GoShikhar avatar Dec 30 '20 10:12 GoShikhar