Is it possible to do line breaks, bold text, or perform other text formatting for a mobile push notification from a canvas app? I want to bold a piece of my message and I also want date and time to display on a different line but right now they are displaying one next to the other. I tried to use char(13) but that did not make a difference. Also, is it possible to insert an icon or an image in the notification that is different than the powerapps icon?
This is my code:
PowerAppsNotification.SendPushNotification(
{
recipients: [cmbPushNotificationRecipients.Selected.UserPrincipalName],
message: "Hello world" & Char(13) & "Date: " & Text(Now(), "mm/dd/yyyy") & Char(13) & "Time: " & Text(Now(),DateTimeFormat.ShortDate) & Char(13) & "Location: " & ThisItem.Address & Char(13) & "*View Details"
}
)
I need all of the items (title, date, time, location) to display on different lines, and I need "Hello World" and "*View Details" to be bold. The push notification is in the onSelect of a button. Please help!