react-native-haptic-feedback icon indicating copy to clipboard operation
react-native-haptic-feedback copied to clipboard

app crashes if v.hasVibrate() == false

Open Willham12 opened this issue 2 years ago • 1 comments

Caused by java.lang.NoSuchMethodError
No static method createPredefined(I)Landroid/os/VibrationEffect; in class Landroid/os/VibrationEffect;
or its super classes (declaration of 'android.os.VibrationEffect' appears in /system/framework/framework.jar)
com.mkuczera.VibrateWithCreatePredefined.apply (VibrateWithCreatePredefined.java:20)

Willham12 avatar Oct 30 '21 07:10 Willham12

Can close if https://github.com/junina-de/react-native-haptic-feedback/pull/79 merged

Willham12 avatar May 27 '22 08:05 Willham12

Fixed in 2.1.0, currently in beta to test it.

mkuczera avatar Aug 15 '23 10:08 mkuczera