You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Long press haptic feedback not working on iOS. I have tried using LocalHapticFeedback to perform long-press haptic feedback. It works on Android, but on iOS it's not working.
Affected platforms
iOS
Versions
Kotlin version*: 1.9.23
Compose Multiplatform version*: 1.6.1
OS version(s)* (required for Desktop and iOS issues): iOS 17.4.1
OS architecture (x86 or arm64): arm64
Device (model or simulator for iOS issues): iPhone 15 Pro
To Reproduce
val haptic =LocalHapticFeedback.current
haptic.performHapticFeedback(HapticFeedbackType.LongPress)
Expected behavior
Long-press haptic feedback
The text was updated successfully, but these errors were encountered:
## Proposed Changes
Bridge `HapticFeedback` interface with `UIFeedbackGenerator`s, provide
the constructed bridge as static composition local.
## Testing
Test: APIs that request a haptic feedback should trigger one on iOS
(text selection, on-demand, etc)
## Issues Fixed
Fixes: JetBrains/compose-multiplatform#4598
Describe the bug
Long press haptic feedback not working on iOS. I have tried using
LocalHapticFeedback
to perform long-press haptic feedback. It works on Android, but on iOS it's not working.Affected platforms
Versions
To Reproduce
Expected behavior
Long-press haptic feedback
The text was updated successfully, but these errors were encountered: