Skip to content

How to emit haptic feedback ? #133

Answered by marcprux
Louis-PAGNIER asked this question in Q&A
Discussion options

You must be logged in to vote

This seemed like it would be useful feature, so I've gone ahead and added the API (UIImpactFeedbackGenerator, UINotificationFeedbackGenerator, and UISelectionFeedbackGenerator) to skip-ui 0.9.5. Once you update with File/Packages/Update to Latest Package Versions, you should be able to just use those types to create haptic feedback on the Android side in the same way as the iOS side.

Note that you will need to add the android.permission.VIBRATE permission to your AndroidManifest.xml file. See: https://skip.tools/docs/modules/skip-ui/#haptics

Please let us know if you have any questions or problems with the new feature, and thanks for the suggestion!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Louis-PAGNIER
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by marcprux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants