Hope to provide a complete touch feedback experience
Voxel Busters
Can you please give more details on what's missing in them and how they can be improved? This helps us in evaluating the request better.
Felix Lin
Voxel Busters
Currently, the Android plugin uses the latest haptic feedback with VibrationEffect (Android API 26+), which is already provided in the plugin:
- Duration (milliseconds)
- Vibration intensity (1~255)
But the following features are still missing:
- An array for the duration of each vibration or pause
- Intensity corresponding to each duration (0 for silent, 1~255 for vibration intensity)
- The index from which to start repeating, -1 means no repetition
Currently, the iOS plugin provides some preset vibration patterns:
- light
- medium
- heavy
- (iOS 13+).soft and .rigid
- success
- warning
- error
At the same time, some other iOS plugins provide custom parameters:
- Duration
- Vibration intensity
- Vibration sharpness