This is how you may use our Liquid Templates syntax to add the line breaks for your notifications on iOS and Android:
1) In the Pushwoosh UI, use the following structure.
Don't forget to add the line break (CTRL+Enter on Windows, CMD+Enter on Mac in the end of each line, except the last one)
Get ready to score a :soccer: touchdown!{% if platform == "Android" %}<br>{% else %}{% endif %}
The big game is on tonight :star-struck:{% if platform == "Android" %}<br>{% else %}{% endif %}
Don't miss a minute of the action
2) For messages sent via API, use the following structure:
Get ready to score a touchdown!{% if platform == 'Android' %}<br>{% else %}\n{% endif %}The big game is on tonight{% if platform == 'Android' %}<br>{% else %}\n{% endif %}Don't miss a minute of the action
In both cases, the result will look like this:
Comments
0 comments
Please sign in to leave a comment.