Could someone please point me in a direction of how to add phone vibration to alerts?

I am going to say this up front. I have tried ALL of the onesignal plugns and searched the forums for a month. I can’t tell what plugin is free, paid, unsupported or broken any more and I just want a straight answer SOMEWHERE.

At this point I am going around in circles and all I want is when the little alert popups up, for it to vibrate the person’s phone.

I am NOT putting this app on stores though. I need it to be a website (which I do have as native in bubble). I already have the alerts setup but just can’t get the phone to vibrate.

It’s easy with JavaScript. Let me know if you need help solving this.

Well, it’s a start. I was hoping for something not so browser specific but it gives me ideas on what I can search for. Thank you. I’ll see if I can use one and mark this solved.

This is the way you should be doing it. I wish you good luck.

Errm, have you seen this one?

1 Like

Yes, it uses the js code I sent you in the link.

function(properties, context) {

var multi;
multi = properties.vib.get(0, 40);

if (window.navigator && window.navigator.vibrate) {
} else {
console.log(“Vibration Not Supported!”);


I did but when I see it’s a 2 star rating and the only comment is “it doesn’t work” I wasn’t sure (and I don’t even want to get into my frustration with plugins as a whole). And honestly, I think as I was writing my post I kind of forgot about it. I didn’t realize who the author was so I might look into it along with codeables suggestions and support. Thank you for the info.

That plugin worked as well as codeable’s info. And of course in weird karmic fate, I got onesignal working…Figures.

Thanks for the help.

This topic was automatically closed after 70 days. New replies are no longer allowed.