There are several posts that describe aspects of this issue, but there hasn\'t yet been a satisfying answer, so I\'m attempting to collate them all here in hopes of getting
After upgrading version 9.2.1 push notifications displayed by themselves when application is in background (@dblank solution does not work for me)
Workaround: Remove the notification node for Android
{
"to": "APA91bHun4MxP5egoKMwt2KZFBaFUH-1RYqx...",
"notification": {}, //Remove this node when PUSH to Android devices
"data": {
"key": "value"
}
}
Today I finally got an acknowledgement from Google that this was in fact a bug, and that the fix was rolled out this week. I can also confirm that the behavior I was seeing in 8.3.0 now works the same in 8.4.0, so apparently the fix was done entirely on the server side.
I was also advised that it is in fact best practices to partition your GCM messages on the server side between those going to iOS devices and those going to Android devices, as there may be times in the future where different payloads may be needed for the different platforms.
Se my answer here. The solution I found is to just send this e field with value zero on my server. For Android it worked, have not tested on iOS yet.