I have an android app. With notifications we have to display some action buttons. When the app is open we have the liberty to construct the notification and display the action buttons.
But when app is closed the notification is received in notification tray in android. Where an app developer don't have control to build ui and action buttons. how can we show the buttons now ? How the data is formatted from server side so that when it is received in app , we can see action buttons