handle fcm display messages and data messages by using laravel rest api in android java

how to handle it in android fcm please share any suitable solution i want to reslove issue of fcm on backround and on foreground

$payload = [
'to' => $user->device_token,
'collapse_key' =>'test message',
'data' => [
'title' => '',
'message' => $push_message
],
'notiification' => [
'title' => '',
'message' => $push_message
]
];

how to handle it in android fcm please share any suitable solution i want to reslove issue of fcm on backround and on foreground



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2S0JxxL
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time