Open spinninghamster opened 3 years ago
Hey @spinninghamster are you using iOS or Android ? and do you send through APNS or FCM ? My understanding is that android and iOS need the data structured in different ways, as we previously had problems with this between the platforms. I'd be interested to know if you resolved this as we also need to send data messages.
My
$data
payload is:I initially had the code like:
and notifications rarely arrived. Maybe 1 out of 20 arrived. When I switched from "data" to "notification", they arrived immediately, without missing even a single one. The problem is, the parameters like "iconColor", etc. don't seem to get picked up.
What could be the reason for this? I can't figure it out. They really almost never arrive when using "data" but immediately and always when using "notification".