Maybe this is the wrong place to ask: `LocalHaptic...
# compose
z
Maybe this is the wrong place to ask:
LocalHapticFeedback.current
, afaik it will only vibrate when the device is not in any form of DND mode. 1. Is that correct? 2. And if so.. any way that I can work around it without toying with the users DND settings? On Android for example, I can use vibrator which works regardless of DND; but using HapticFeedback would save me the trouble of implementing it on each platform.
c
They serve different purposes. Haptic feedback is supposed to be tied to user interaction. It doesn't require a permission. Vibrator can be used without user interaction. For example to signal a timeout. It requires a permission.
👍🏽 1
☝🏼 1