Closed ChanakyaSrinivas closed 6 years ago
See the documentation, check the vibration parameter.
message.addData("vibration", true)
HI, As per your suggestion, I tried with above statement but still am not getting vibration.
Check out the vibrate
property here
Either set it to true i.e. vibrate: true
or to an array of representing a vibration pattern i.e. vibrate: [200,100,200,100]
When am sending notification from java server program am able to see the notification message in respective device but the notification vibration not came.
How to get the notification with vibration? Can any one help me out.
Here is my java example code: