HomePhabricator
Diffusion Comm f184aef33d77

[native] Warn if notif is too big after omiting messageInfo

Description

[native] Warn if notif is too big after omiting messageInfo

Summary:
ENG-1566
Now a warning should be logged if a notification exceeds size limit, even after omitting messageInfos.

Test Plan: Test on both Android and IOS. Change apnMaxNotificationPayloadByteSize/ fcmMaxNotificationPayloadByteSize to a small number and send a notification to the app. You should see a warning in the logs. Revert the changed values and try to send a notification again, no warning should be logged.

Reviewers: tomek, atul, abosh, marcin, ashoat

Reviewed By: tomek, atul, marcin, ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5229