Skip to main content
added 116 characters in body
Source Link

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!

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!" }} 

Any advice?

Thanks!

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!

Source Link

Android Mobile Push via MarketingCloudSDK not received

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!" }} 

Any advice?

Thanks!