I'm trying got send a "silent" push notification to the device that doesn't put anything onto the screen but it triggers reloading some info from the server.
I've stopped it displaying anything on the screen by not setting the alert
but the device still vibrates when the notification is received but only if the app is running.
Is it possible to stop the app from vibrating when the app is running and a notification is received?
If you remove the sound from the alert completely then no sound will play and if your app is closed then your phone won't vibrate.
However, if the app is open the phone will still vibrate.
No way to disable that unfortunately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With