Multiple Lines of text message for Push Notificati

2019-06-25 13:02发布

I am trying for push notification with multiple lines text message. I have tried many changes like FCMService.java with setBigStyle text format, HTML.fromHTML, and some other. But not able to get the multiple line message.

I have gone through multiple sites and solution but not work. Marking it at duplicate or vote down, help me. I will up flag for your answer.

1条回答
戒情不戒烟
2楼-- · 2019-06-25 13:33

Sorry Guys!. I have found the solution.

No need of doing any kind of modification in the any file like FCMService.java or any other custom messages for showing of multiple lines of Notification while using Push Notification V5.

Remove the field "style", from the object you are sending notification.

Automatically the Multiple lines of notification will be seen.

For more information, upvote the answer, ask your query. I will help you out.

查看更多
登录 后发表回答