custom_haptics_pro 0.0.1
custom_haptics_pro: ^0.0.1 copied to clipboard
A Flutter plugin for creating custom haptic feedback patterns on iOS using Apple's Core Haptics framework. Supports transient and continuous haptics with full intensity and sharpness control.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2024-01-01 #
Added #
- ✨ Initial release of Custom Haptics Pro
- 🎯 Simple API with pre-built haptic patterns:
playTap()- Single tap hapticplayDoubleTap()- Double tap hapticplayHeartbeat()- Heartbeat patternplayContinuous()- Continuous vibration
- 🔧 Custom pattern creation using
HapticPatternandHapticEventclasses - 📊 Full intensity (0.0-1.0) and sharpness (0.0-1.0) control
- ⚡ Support for transient (tap-like) and continuous (sustained) haptic events
- 🔄 Automatic haptic engine management with manual control options
- 📱 iOS 13.0+ support using Apple's Core Haptics framework
- 📄 JSON/AHAP format support for loading custom patterns
- 🎨 Comprehensive example app demonstrating all features
- 📚 Full documentation with API reference and usage examples
- ✅ Device capability checking with
supportsHaptics()
Platform Support #
- iOS 13.0+
- iPadOS 13.0+
- Mac Catalyst 13.0+
Known Limitations #
- Requires real iOS device for testing (does not work in Simulator)
- iOS/iPadOS only (no Android support)
- Some older devices may have limited or no haptic capabilities