Post #976961
2026-03-31 07:38 UTC
Okay so @jensimmons keeps asking people about what is missing in Safari and Apple web platform
I just came across a big one
You cannot generate haptic feedback on web platform on Apple devices. Vibration API is not implemented
I was kind of surprised to discover this. I assumed it would be there. But no
Vibration API only seems to offer one style of vibration though, which is also limiting. I want the same haptic feedback freedom as in native SDK-s
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate
Replies (2)
-
@jaanus@iosdev.space 2026-03-31 07:44
@jensimmons the motivation for this is that I am working on a team that is doing UI prototyping with web technology It is really great. When you install a web app on device home screen, it launches in full screen without any browser chrome, and is excellent for prototyping and experimenting with complex UI, as it truly feels like a native app (with some tiny warts that don't matter most of the time in this context) Haptic feedback is truly the only serious part that is missing
-
@jyasskin@hachyderm.io 2026-03-31 15:46
@jaanus @jensimmons https://github.com/lochie/web-haptics emulates it with .