Home » Android » android – What is the Character Limit for Message text in Firebase console based notification?

android – What is the Character Limit for Message text in Firebase console based notification?

Posted by: admin June 15, 2020 Leave a comment

Questions:

i’m using Firebase console to send a notification to my phone, the notification is successfully delivered to my phone, but i want to know, What is the Character Limit for Message text in Firebase console based notification?

enter image description here

How to&Answers:

Fire Base uses GCM for message transport. Based on the following references

  1. GCM Size Limit = 2KB (here)
  2. From FIrebase documentation size limit = 4KB (here)

Anyway if we are considering a 2KB payload size. it will come around 2000 characters.

remember to keep the message size low as much as possible.

UPDATE

The console will allow maximum of 1024 characters

Answer:

As of today (1st Apr 2020)

Firebase console only allowing 1000 characters in the notification body:

enter image description here