Advertisement
Guest User

Pushwoosh Geo Push To City

a guest
May 23rd, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. $message = array(
  2.         'application'   => App::config('pw_app_code'),
  3.         'auth'      => App::config('pw_access_token'),
  4.         'notifications' => array(
  5.             array(
  6.                 'send_date'     => $sendDate,
  7.                 'content'   => $notification->Content,
  8.                 'data'          => $notification->Data,
  9.                 'platforms'     => array(1,3),
  10.                 'android_sound'     => "",
  11.                 'ios_trim_content'  => 1,
  12.                 'ios_badges'        => 1,
  13.                 'ios_sound'         => "Resources/CDVNotication.bundle/beep.wav",
  14.                 'conditions'        => array(array("City", "EQ", $notification->Country.",".$notification->City))          
  15.             )
  16.         )
  17.    
  18. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement