(style: HapticStyle = HapticStyle.Light)
| 79 | // Safari and WKWebView never vibrate, so haptics go through a wrapper that |
| 80 | // answers for the handler; without one, nothing plays. |
| 81 | export const playHaptic = (style: HapticStyle = HapticStyle.Light): void => { |
| 82 | postNativeMessage(WebKitMessageHandlers.Haptic, { style }); |
| 83 | }; |
| 84 | |
| 85 | export enum StatusBarStyle { |
| 86 | Default = 'default', |
no test coverage detected