FMX – Adding LineBreak to LocalNotification


Embarcadero has a good article explaining how to use Local Notifications on Android.

However, when I add sLineBreak to the AlertBody of my LocalNotification, it doesn’t add any line breaks at all.

// Set the alert message
LocalNotification.AlertBody := g_name + ‘ sent:’ + sLineBreak + last_notification_event;

How can I add a LineBreak for a LocalNotification on Firemonkey?

Comments are closed.