Expo Push Notification does not work with big payloads
Hi there, I was trying to configure a Push Notification through Expo Push Integration. I believe, Novu sends the entire payload object to the FCM even when it's simply supposed to send a trivial notification because with larger payloads the app never receives the notifications. As soon as the payload size is reduced the notifications start flowing flawlessly. Novu Activity Logs show successful execution status in each case.
Any help would be appreciated 🙌
8 Replies
@Logicâ„¢ that sounds very interesting! Are you using Novu Cloud? or is it self hosted? @Pawan Jain can you help us here?
Using Novu cloud
@Logicâ„¢
Could you please share the payload example?
I see you are facing Expo, are you using FCM as well?
Can't share the actual payload but it happens when the payload size is over 4KB. 4KB is also the limit of FCM. Is there any way I can trim down the payload sent to FCM to just the title and description of the notification? I was looking into FCM Overrides but couldn't figure it out
@Logicâ„¢ are you using data notification?
Tried with both, normal notification type and data type both
@Logic™ please check your DM 🙂
Oops I can not send you a DM. Just sent you a friend request
Done :)