| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…native implementation Remove third-party haptic feedback dependencies (react-native-haptic-feedback, expo-haptics) and replace them with a built-in native module using the existing shared-native pattern (Swift + Kotlin).
SDK Size
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
🎯 Goal
Remove the third-party react-native-haptic-feedback and expo-haptics dependencies and replace them with a built-in native module. This reduces the number of external dependencies the SDK relies on for haptic feedback.
🛠 Implementation details
Follows the existing shared-native/ pattern (same as StreamVideoThumbnailGenerator):
The registerNativeHandlers pattern is preserved — users can still override or disable haptic feedback via registerNativeHandlers({ triggerHaptic: () => {} }).
No changes to the core package (package/src/) — all component call sites remain unchanged since they access haptics through NativeHandlers.triggerHaptic().
🎨 UI Changes
No visual changes. Haptic feedback behavior is functionally equivalent to the previous implementation.
🧪 Testing
☑️ Checklist