Php PushWoosh-通过远程API基于位置的通知
我希望根据用户当前位置筛选通知。我知道我可以通过PushWoosh网站设置地理区域,但我似乎找不到任何方法通过远程API实现这一点 我想这样做:Php PushWoosh-通过远程API基于位置的通知,php,pushwoosh,remoteapi,Php,Pushwoosh,Remoteapi,我希望根据用户当前位置筛选通知。我知道我可以通过PushWoosh网站设置地理区域,但我似乎找不到任何方法通过远程API实现这一点 我想这样做: $this->pwCall('createMessage', array ( 'application' => 'XXXXX-XXXXX', 'auth' => 'XXXXXX[...]', 'lng' => 42, 'lat' => 42, 'range' =&g
$this->pwCall('createMessage',
array
(
'application' => 'XXXXX-XXXXX',
'auth' => 'XXXXXX[...]',
'lng' => 42,
'lat' => 42,
'range' => 1000,
'notifications' => array
(
array
(
"platforms" => array(3),
'send_date' => 'now',
"ignore_user_timezone" => true,
'content' => "$message",
'data' => array("type" => $type),
"android_header" => "$header",
)
)
)
);
换句话说:从特定位置向特定范围内的任何设备发送通知,但我无法使其工作。甚至有可能这样做吗
提前谢谢你