【发布时间】:2014-09-19 07:38:20
【问题描述】:
如何一次向多个设备发送多条消息
$apiKey = "xxxxx";
$registrationIdArray = array('xxx_1','xxx_2');
$msg = array('message' => 'message_1','title'=> 'title_1','message' => 'message_2','title'=> 'title_2');
$pusher = new Pusher($apiKey);
$pusher->notify($registrationIdArray, $msg);
【问题讨论】:
标签: php android cordova push-notification google-cloud-messaging