How to have a "multiline" title in a push notification?
I have a workflow that triggers an email and some push notifications.
I want to make the push notifications behave like the email notifications attached. Still, I could only make it have a one-line title (see the other screenshot), that's truncated with ellipsis or a two-line title that doesn't show the second line unless you press and hold the notification.
The question is: is it possible to show a two-line title push notification as the Gmail notification?
Something like:
![No description](https://cdn.answeroverflow.com/1184606380892635196/image.png)
![No description](https://cdn.answeroverflow.com/1184606381278498847/cleanshot_2023-12-13_at_16.png)
4 Replies
@Obscene Burrito
I see in gmail notification image, title is one line but body is multiline
Could you confirm if you are looking for multi line title or body?
Multi line title.
I would like to have something similar to the:
and the body still fine. i can handle them perfectly
@Pawan Jain ^
Hi @Obscene Burrito
I tried to search for a way, but I could not find anything to do it from API (backend) side.
Few answers on stackoverflow mention that it can be handled in android UI using data key
Did you try those approach?
I see in ios there is one extra field subtitle
https://developer.apple.com/documentation/usernotifications/unmutablenotificationcontent/1649873-subtitle
above images are of Ios or android device?
are for iOS. but i'm not a mobile developer. so i don't understand that very well.
thanks for the docs though! i i will share them with the mobile devs and see if we can do it