DEV Community

Discussion on: Add vibration to your web applications

Collapse
 
oskarcodes profile image
Oskar Codes

Please note that this does not work on iOS devices.

Collapse
 
aminnairi profile image
Amin • Edited

Noted! They'll eventually support that feature but it is a shame that it gets its support later than the other platforms. 😞

But what is cool about that code is that you can use it today even if there's no support now because when it does you'll have literally nothing to do. It will just work!

Collapse
 
rejhgadellaa profile image
Roderick Gadellaa

Actually, WebKit had support in 2012 or so. They removed it, no plans to bring it back. See this thread on tw for some of the reasoning:
twitter.com/grorgwork/status/86283...

Collapse
 
sunflower profile image
sunflowerseed • Edited

So does that mean if you want to try it, you'd have to find an Android phone to do it? (the only device that can do it is Android phone)

Collapse
 
aminnairi profile image
Amin

For now this is the case. I haven't any information about when will the Apple Dev Team (and other OEM) will decide to introduce this feature but one can say that this won't take long since this isn't an experimental feature anymore.

As for gaming platforms (Playstations, XBox, Steam) this may take even longer because they may not have the same roadmap for Web support than the other OEM.