Daniel - Bountycaster avatar
Member
⭐️ New Mini App Release: Haptics API is live! We just shipped support for haptic feedback in Frames. This lets you add tactile interactions - like subtle taps or success pulses - when users take actions in your mini app Why this matters: Haptics boost engagement by creating a more responsive experience. They’re especially useful for button taps, errors, and task completion confirmations Docs:
haptics
miniapps.farcaster.xyz
haptics
Daniel - Bountycaster avatar
Restart your mobile app and try the Haptics demo: frames-v2.vercel.app/frames/haptics This demo tests how my haptics integration works on mobile. As always - feedback always welcome!
Launch haptics
3
1
8
CHRIS DOLINSKI avatar
Nice works well
1
tip.md | 1st Crypto BMAC avatar
Mmmmh doesn’t work for me, am on iOS, just restarted 🤔 @pirosb3
Kasra Rahjerdi avatar
bros reading my DCs
Cast image embed
1
2
Daniel - Bountycaster avatar
Fixed!
2
Online avatar
Will integrate it tomorrow.
2
2
Daniel - Bountycaster avatar
Please do! Let us know if you have any feedback
1
everything avatar
just easily added to my miniapp! ty mr dev!
1
1
Daniel - Bountycaster avatar
Any feedback?
1
everything avatar
all cool no issues rn just copypasted docs to replit assistent and asked to set up haptics - after a minute all good, ty!
Kinco avatar
Interesting, it could be used for certain of our games 👀
1
Daniel - Bountycaster avatar
Which game would you use it with?
1
Kinco avatar
I think it would match well with our next game (can't talk about it now but it is a game with some balls)
1
Daniel - Bountycaster avatar
I think this is absolutely perfect for ball collisions.
1
vishal avatar
hype
1
Darryl Yeo 🛠️ avatar
📳🫨
1
Tony D’Addeo avatar
my fingers aren't sensitive to distinguish between half of these lol
1
Samuel ツ avatar
I am assuming this in to compatible with the Vibration API of the web? developer.mozilla.org/en-US/docs/W... Cc @darrylyeo @carculture.eth
Vibration API - Web APIs | MDN
developer.mozilla.org
Vibration API - Web APIs | MDN
1
Darryl Yeo 🛠️ avatar
Not supported on Safari unfortunately. Curious if it works in the mini-app view on Android. Maybe to Farcaster SDK should ship with a polyfill for `Navigator.vibrate()`.
3
Daniel - Bountycaster avatar
I can turn this around on Safari when I have bandwidth, our assumption is that most users that have haptics will be using the mobile app
1
Samuel ツ avatar
Will mobile mini app hosts trigger haptics on the web vibrate API? Wondering if we need an additional wrapper around a web API or if the pure web api would be sufficient Thinking about not having to check if mini app -> switch between the two
1
dylan avatar
nice, will start looking at the docs!
Garrett avatar
@trenchverse what if there were haptics in basedrop where you could shake your phone to get balls to fall down or move
1
1
Trenchy avatar
ahh..this sounds very cool. checking out the docs 🫡
Tamrat avatar
sick! 🙏🏽🤌
Nikunj Navdiya 🎩 avatar
Idk if it's dumb question or not haptics doesn't work on Android?? Because I have Android and I m not able to feel the vibrations or anything 🫣 Anyway will try to integrate it in my weather app will feel more weathery experience haha High for thunderstorm or rain Soft for normal Error for heat haha jk
Igor Yuzovitskiy avatar
Yes! I’m going to @griv this up!