awspushbundle
awspushbundle copied to clipboard
AWS SNS FCM payload
In your code you have different payloads keys for FCM and GCM
https://github.com/mcfedr/awspushbundle/blob/master/src/Mcfedr/AwsPushBundle/Message/Message.php#L700
But according to SNS documentation
https://docs.aws.amazon.com/sns/latest/dg/sns-send-custom-platform-specific-payloads-mobile-devices.html
you should always use GCM as key, where did you see the FCM information?
Yea, it does seem to be right, maybe a PR that removes FCM is needed
@mcfedr, please, review the PR https://github.com/mcfedr/awspushbundle/pull/46/files it should fix the issue