|
@@ -74,6 +74,8 @@ class Message extends Api
|
|
$notification->setIncludedSegments([$segment]);
|
|
$notification->setIncludedSegments([$segment]);
|
|
$notification->setIosBadgeType('Increase');
|
|
$notification->setIosBadgeType('Increase');
|
|
$notification->setIosBadgeCount(1);
|
|
$notification->setIosBadgeCount(1);
|
|
|
|
+ $notification->setIsIos(true);
|
|
|
|
+ $notification->setContentAvailable(true);
|
|
$data['push_para']=$url;
|
|
$data['push_para']=$url;
|
|
$data['push_type']=$type;
|
|
$data['push_type']=$type;
|
|
$data['title']=$title;
|
|
$data['title']=$title;
|