ReviewOS

also looking at this

craft-native/craft

fix(ios): hand the page the answers native was already sending

#222
Merged glennmichael123 wants to merge fix/ios-unanswered-posts into main
18 files +597 -164
docs/api/mobile/haptics.mdmodified+7-0
Changes to docs/api/mobile/haptics.md
@@ -2,6 +2,13 @@
22
33Provide tactile feedback through device vibrations.
44
5Haptics are feedback, so these methods never stop a flow for a capability the
6app left off. On iOS, with `enableHaptics` off in `craft.config.json`, they
7resolve without playing anything, the way the web fallback does on a device
8with no vibration motor. They reject only when the native call itself fails.
9The raw `window.craft.haptic()` is different: it rejects with
10`CAPABILITY_DISABLED`, for code that needs to know.
11
512## Import
613
714```typescript