Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $message = array(
- 'application' => App::config('pw_app_code'),
- 'auth' => App::config('pw_access_token'),
- 'notifications' => array(
- array(
- 'send_date' => $sendDate,
- 'content' => $notification->Content,
- 'data' => $notification->Data,
- 'platforms' => array(1,3),
- 'android_sound' => "",
- 'ios_trim_content' => 1,
- 'ios_badges' => 1,
- 'ios_sound' => "Resources/CDVNotication.bundle/beep.wav",
- 'conditions' => array(array("City", "EQ", $notification->Country.",".$notification->City))
- )
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement