Skip to content

Commit

Permalink
add priority to message
Browse files Browse the repository at this point in the history
  • Loading branch information
ChafikHadjAbdouRazack committed Aug 25, 2019
1 parent b199b96 commit af98b90
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ public function __construct($apiKey)
);
}

public function setMessage($title, $body, $vibration, $sound){
public function setMessage($title, $body, $vibration, $sound,$priority){

$this->message = array(
'title'=>$title,
'body'=>$body,
'vibrate'=>$vibration,
'sound'=>$sound
'sound'=>$sound,
'priority'=>$priority
);
}

Expand Down

0 comments on commit af98b90

Please sign in to comment.