안녕하세요 php 스크립트를 통해서 fcm에 noti 발송을 요청하는 걸 구현 중인데요...
$data = array('to' => 'eZ...............................,
'notification' => array('title' => $today.'today menu',
'body' => $r1[0],$s1[0],$sd1[0],$sd2[0],$sd3[0],$sd4[0]),
'data' => array('url' => '
https://fcm.googleapis.com/fcm/send'),
'priority' => 'high' );
위 php 코드와 같이 notification의 body 부분에 $r1[0] 과 같이
배열안의 특정 인덱스 값을 넣어서 notification안에 넣고 싶은데..
휴대폰 수신화면에선 내용이 하나도 보이지 않습니다.
어떻게 하면 배열이나 변수 안의 값을 noti의 body 부분에 넣어서 보낼 수 있을까요?