Closed spmamidi closed 6 years ago
what do you mean by that? send the image bytes through fcm?
Yes. Send image bytes
FCM has a limit of 4kb per message. If your image fit within this limit, you can get the base64 representation of that image, send it and reconstruct the image in the other end e.g.. Otherwise you need to send just the link to that image and fetch it on the application side.
for futher information about payload limits, please refer to https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
can you provide sample code to send message with image?