diff --git a/apps/android/src/ui/haptics.ts b/apps/android/src/ui/haptics.ts new file mode 100644 index 0000000..9f183be --- /dev/null +++ b/apps/android/src/ui/haptics.ts @@ -0,0 +1,6 @@ +import * as Haptics from 'expo-haptics' + +/** Trigger a light tactile tap without propagating unsupported-device errors. */ +export function triggerLightHaptic(): void { + void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light).catch(() => undefined) +}