jeudi 6 février 2020

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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire