Question:
I am wondering if it's possible to add some bold/italic/coloured text to the notification for iOS and Android?
Answer:
For Android, you can use HTML tags in order to customize the text in your notification.
For example, if you want the text to be bold, tilted and green, it is necessary to add the following tags:
<font color="green"><b><I>
Hello, world! </i></b></font>
As for the iOS, it seems to be possible to currently use only bold (no colours) and only for the title of the message. To do so, please use the following parameter in the iOS root params field:
{"aps":{"alert": {"title": "your title", "body": "text"}}}
Comments
1 comment
How to turn of bold format on notification bar !??
Please sign in to leave a comment.