Based on Erel's example code and tutorial, I've added Firebase notification feature to my application, everything is ok unless the notification message is ellipsized, and there is no drop-down arrow to expand it. I tried to send the notification from B4J and also from VB.NET program, and I've got the same result on two different phones (android version 10 and 11)
how to fix this problem.
You need to change the notification type to NB6. Its an internal library now.
Download the example and choose the type you want and implement it in your application.
Background For a long time there were two ways for B4A developers to show notifications: - Simple notifications with the built-in Notification object. - More complex notifications with barx's NotificationBuilder library. Thank you barx for all your work!!! The notifications features changed a...
I've reviewed some code examples on the web (vb.net, and code example from firebase), I noticed that, when naming key-object in payload 'notification', the notification is displayed as expected, and if named anything else, the text is ellipsized. I've tested it in B4J and VB.NET, like this:
B4X:
Dim data As Map = CreateMap("title": Title, "body": Body) 'any name for map is ok
m.Put("priority", 10)
m.Put("notification", data) 'key must be named 'notification'