Skip to content

v0.1.3

Latest

Choose a tag to compare

@pratikPSB pratikPSB released this 20 May 14:39
d2d62d7
  • Added Vibration and Volume customization:
    • New VibrationSettings model with presets: strong, medium, light, heartbeat, and support for custom vibration patterns.
    • New VolumeSettings model with support for:
      • Direct volume level (0.0 to 1.0).
      • Linear volume fading over a specific duration.
      • Custom volume fade steps using VolumeFadeStep.
      • volumeEnforced to prevent users from lowering volume during an alarm.
    • Android: Implemented volume control, fading, and vibration using MediaPlayer and Vibrator.
    • iOS: Implemented volume control, fading, and vibration using AVAudioPlayer and AudioServices.
  • Updated example app with UI controls for vibration and volume settings.
  • Updated README with vibration and volume usage examples.