I'm working on integrating MarketingCloudSDK on Android. It looks like everything is connecting properly and I see the devices registered. When sending push notifications, it said the message was delivered, but I never got the notification on the device.
Looking at the troubleshooting guides here: https://salesforce-marketingcloud.github.io/MarketingCloudSDK-Android/trouble-shooting/trouble-shooting-push-setup.html
Says that the payload is:
{ "data": { "title": "Test Push", "alert": "It Worked!" }}
I looked at Firebase documentation and it says that for the notification, the payload should be using "notification" as the key such as
{ "notification": { "title": "Test Push", "alert": "It Worked!" }}
When I changed from "data" to "notification" from the troubleshooting step, I was able to get the notification.
Any advice?
Thanks!
data
tonotification
then the Firebase service is handling the message and not the MC SDK.