cordova-plugin-firebasex icon indicating copy to clipboard operation
cordova-plugin-firebasex copied to clipboard

[Feature] Validate received FCM message payload

Open dpa99c opened this issue 5 years ago • 2 comments

Currently the plugin assumes that the received FCM message payload is valid JSON which conforms to the FCM specification. This means if invalid payload data is received, the plugin does not fail gracefully and indicate that the payload is invalid - e.g. #364

So it would be good if the plugin could validate the received payload and if it's invalid, error in such a way as to indicate why the payload is invalid

dpa99c avatar Apr 13 '20 17:04 dpa99c

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 12 '21 14:05 stale[bot]

Reopening as stalebot incorrectly closed it

dpa99c avatar Jul 23 '21 11:07 dpa99c