Closed lianmaymesi closed 2 years ago
I have this same problem ...
return FcmMessage::create()
->setData([
'title' => 'This is title',
'body' => 'This is Data body'
])
->setAndroid(AndroidConfig::create())
->setApns(ApnsConfig::create());
I finally found the solutions to this issue. If you use setNotification()
the setData()
assumes blank data by default. So, we have to remove all setNotification()
from Android or APNS, or WebPush.
Did anyone face the issue of receiving all notifications twice? One Empty notification another one with the real content.