awspushbundle icon indicating copy to clipboard operation
awspushbundle copied to clipboard

AWS SNS FCM payload

Open lightglitch opened this issue 4 years ago • 2 comments

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?

lightglitch avatar Aug 06 '20 08:08 lightglitch

Yea, it does seem to be right, maybe a PR that removes FCM is needed

mcfedr avatar Aug 16 '22 13:08 mcfedr

@mcfedr, please, review the PR https://github.com/mcfedr/awspushbundle/pull/46/files it should fix the issue

MrDanshur avatar Mar 30 '23 15:03 MrDanshur