cancel
Showing results for 
Search instead for 
Did you mean: 

PUSH Notifications Not Working with Android 8.0 / 9.0

christoffer_fuss
Participant
0 Kudos

Hello,

I am using the kapsel push plugin in the newest version of Mobile SDK 3.1 SP01 with cordova Android 7.0.0.

After the update on my Android Phone to Version 8.0, I dont recieve push notifications when my app is in the background. It seems there was a change in the GCM Push Notification Payload:

Old:

{
"GCM": "{ \"data\": { \"message\": \"test message\" } }"
}

New:

{
"GCM": "{ \"notification\": { \"text\": \"test message\" } }"
}

I am using the restnotification API to send my push notifications. The GCM payload creates a "data" object and not a "notification" object.

Is there an update coming to solve this issue or what can i do?

Best regards,

Chris

Accepted Solutions (0)

Answers (0)