Hi all. I was wondering if the HapticFeedback was already working on iOS? Because I tried implementing it, but nothing happens when I click a button
a
Alexander Zhirkevich
01/26/2024, 3:31 PM
No, but it is a public interface. You can implement it and provide to your composition
m
Michael
01/26/2024, 3:47 PM
Ah, so use
expected fun
and
actual fun
?
a
Alexander Zhirkevich
01/26/2024, 3:51 PM
No. Just implement HapticFeedback interface in iosMain and provide it in the root of your app with
CompositionLocalProvider(LocalHapticFeedback provides …
Sorry,I don’t know how to highlight syntax from slack mobile