AWS SNS / Firebase


I am trying to get the notification to appear in the background (push notification) which works if I send a message directly from Firebase.

I have created a AWS SNS Application end using the API key and then using the token from the device, I publish a message, however the message message gets to the app but only the the foreground (app is visible) but never get the message via background.

Not sure where I am going wrong here.

Thank you.