mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1diff --git a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
2index 1520465..6ea988a 100644
3--- a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
4+++ b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
5@@ -42,7 +42,7 @@ class HapticsModule : Module() {
6
7 private fun vibrate(type: HapticsVibrationType) {
8 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
9- vibrator.vibrate(VibrationEffect.createWaveform(type.timings, type.amplitudes, -1))
10+ vibrator.vibrate(VibrationEffect.createWaveform(type.oldSDKPattern, intArrayOf(0, 100), -1))
11 } else {
12 @Suppress("DEPRECATION")
13 vibrator.vibrate(type.oldSDKPattern, -1)