jpush / jpush-api-php-client

JPush's officially supported PHP client library for accessing JPush APIs. 极光推送官方支持的 PHP 版本服务器端 SDK。
https://docs.jiguang.cn
MIT License
522 stars 174 forks source link

怎么给ios添加subtitle,sdk里没有这个属性 #74

Closed fastalks closed 6 years ago

fastalks commented 6 years ago

原来在ios那边的文档里, 这样调用就行了 $response = $this->client->push() ->setPlatform('all') ->addAllAudience() ->iosNotification(array('title' => $title,'body'=>$content), array( 'sound' => 'sound.caf', 'badge' => '+1', 'content-available' => true, 'mutable-content' => true, 'extras' => $extras, ))。。。。。