Android Question [SOLVED] Fcm messaging - how many char can be send on a single notify ?

dd1

Member
I follow this link to implements a pc to android communication via Fcm
Fcm Tutorial
The notification is sent from B4J program on pc, received from B4A Android app, and correctly recognized
But when I send notifications with body length greater than a few hundred characters, the android app receives two or more notifications, each with a 'piece' of the initial notification sent from the pc
What is the maximum length of the text contained in the body of a notification (to make sure that only one notification is received on the android side)?
 

dd1

Member
Thank you very much
But, technical speaking, why you should never send messages via Firebase Console?
The receiver mode of Android example is not a 'classic mode' for receive messages?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
But, technical speaking, why you should never send messages via Firebase Console?
The receiver mode of Android example is not a 'classic mode' for receive messages?
1. No real reason to use the console. It is simpler to use and especially automate the B4J code.
2. The B4A implementation expects a data message.
 
Upvote 0
Top