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 The notifications features changed a lot as Android evolved. Android 8 (with targetSdkVersion 26+) adds another complexity with the introduction of notification channels. The built-in Notification object was rewritten in B4A v8 to work properly with all versions. This is a good...
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'