push-plugin icon indicating copy to clipboard operation
push-plugin copied to clipboard

Multiline notification body does not seem to be supported.

Open spstratis opened this issue 9 years ago • 2 comments

Is it possible to handle notifications which have larger amounts of text in the body? It seems that all I get is one line for the notifications title and one line for the body. Looking through the Android docs I see the following,

.setStyle(new NotificationCompat.BigTextStyle().bigText(message))

Is something that needs to be added to support this but I'm not sure if this plugin has that. If it does not, how could I go about updating this myself to support a multiline notification?

spstratis avatar Oct 03 '16 17:10 spstratis

@spstratis This was considered for further enhancements in the plugin. Meanwhile you can add teh code in question to the notification builder logic in a similar fashion as here.

AntonDobrev avatar Oct 04 '16 09:10 AntonDobrev

@AntonDobrev The provided link is broken Thanks!

Daxito avatar Jan 22 '17 04:01 Daxito