|
我就是后台开发人员 后台用的PHP ,按照官网给的例子做的,安卓的可以,ios的显示发成功了,手机接不到 ->iosNotification($content, array( //------ 当接收通知的是 ios
'sound' => 'sound.caf',
// 'badge' => '+1',
// 'content-available' => true,
// 'mutable-content' => true,
'category' => 'jiguang',
'extras' => array(
'key' => 'value',
'jiguang'
),
))
->androidNotification($content, array( //---- 当接收通知的是 Android
'title' =>$title,
// 'builder_id' => 2,
'extras' => array(
'key' => 'value',
'refresh' => '1',
),
));
我怀疑是 'sound' => 'sound.caf', 找不到对应的,可以在哪里设置这个呢?您知道吗?万分感激!
|
|