No haptics for Toggle

Hi there,

I thought haptic feedback is supposed to be enabled by default for IonToggle, but I get no feedback on my iPhone.

Do I have to trigger a haptic feedback manually or did I miss something?

Cheers Jan

Are you using Cordova or Capacitor?

Im using Capacitor, bootstrapped with „ionic init“

@capacitor/haptics is installed.

That’s weird then, it should just work, for Cordova is common to miss the plugin that implements the haptics.
Are other plugins working?

Yes. If I open a push modal, the statusbar changes its color.

Haptics work automatically if you swipe to toggle it on or off. They don’t work if you merely tap the switch.

You might need to trigger haptic feedback manually using Haptics.impact() from @capacitor/haptics. Also, ensure your device settings allow haptic feedback. Let me know if you need help setting it up!