0

I am trying to implement push notification for iPhone in php. I have done by the following code:

 $body['aps'] = array(
                'alert' => $message,
                'badge' => 1,
                'sound' => 'default'
                );

This is sending alert, badge and sound options. Now, how to send the vibrate option? Please help me.

Bappa
  • 799
  • 1
  • 9
  • 17

1 Answers1

1

That is not possible, you cannot set the notification to vibrate the phone, read more from vibrate in push notification

Community
  • 1
  • 1
Omar Abdelhafith
  • 21,163
  • 5
  • 52
  • 56