Is there a correct method to put the vibrate phone method in when user receives push? didreceiveremotenotification is called when the user taps the push banner so that isn't what i want. I need a method that is called immediately when the push comes to the phone.
Also, from testing on my iPhone 5c, pushes don't vibrate if the app isn't in the foreground. Is this correct?