Open sauagarw opened 5 years ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi I think @sauagarw has suggested a feature. The suggested feature is the ability to send objects inside the data field of the message using Admin SDK and not only bounded by sending strings. Is it possible to implement this feature? Does any restriction from FCM's backends exist? @chong-shao
Is there any chance this has been handled somehow?
[READ] Step 1: Are you in the right place?
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
The Firebase message object takes Map<String, String> type for the data node. There is no support to send Map<String, Object> in the data node. With the legacy GCM protocol, it was possible to send multilevel map/JSON in the data node. Having this behaviour changed, would break the clients. If we convert the Object to String, this would break the clients.