mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-23 00:14:56 +08:00
add mutable_content flag to ios push
This commit is contained in:
parent
6d2b30901b
commit
411f768156
@ -115,6 +115,7 @@ function ios_send($is_clip, $device_token, $text, $desp = '', $dev = true)
|
|||||||
$topic = intval($is_clip) == 1 ? config('services.go_push.ios_clip_topic') : config('services.go_push.ios_topic');
|
$topic = intval($is_clip) == 1 ? config('services.go_push.ios_clip_topic') : config('services.go_push.ios_topic');
|
||||||
$notification->topic = $topic;
|
$notification->topic = $topic;
|
||||||
$notification->sound = ['volume'=>2.0];
|
$notification->sound = ['volume'=>2.0];
|
||||||
|
$notification->mutable_content = 1;
|
||||||
|
|
||||||
$json = ['notifications'=>[$notification]];
|
$json = ['notifications'=>[$notification]];
|
||||||
$client = new GuzzleHttp\Client();
|
$client = new GuzzleHttp\Client();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user