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:
2 unread messages <- title first line
X Team inbox` <- title second line`
Open the inbox to check the unread messages
2 unread messages <- title first line
X Team inbox` <- title second line`
Open the inbox to check the unread messages
No description
No description
4 Replies
Pawan Jain
Pawan Jain12mo ago
@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?
Obscene Burrito
Obscene BurritoOP12mo ago
Multi line title. I would like to have something similar to the:
Linear
You have......
Linear
You have......
and the body still fine. i can handle them perfectly @Pawan Jain ^
Pawan Jain
Pawan Jain12mo ago
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?
Obscene Burrito
Obscene BurritoOP12mo ago
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
Want results from more Discord servers?
Add your server