vol_spotter 0.2.1
vol_spotter: ^0.2.1 copied to clipboard
A Flutter plugin for detecting physical button presses (volume up, volume down, power) on Android and iOS with configurable event interception.
Changelog #
0.2.1 #
- Fix cross-package dependency constraints for pub.dev resolution.
- Update README with macOS and Windows platform details.
0.2.0 #
- Extract
ButtonEventChannelMixinto eliminate Dart-layer duplication across platforms. - Android: add ProGuard consumer rules,
@Volatileevent sink, try-catch in key dispatch, double-registration guard. - iOS: weak-capture slider in
resetVolume, addPrivacyInfo.xcprivacymanifest. - Lower SDK constraint to Dart
^3.0.0/ Flutter>=3.10.0for wider compatibility. - Expand test coverage to 92 tests (up from 62).
- Add error handling to example app.
0.1.0+2 #
- Add
CHANGELOG.md,LICENSE,.pubignore, andrepositoryfield to all packages.
0.1.0+1 #
- Initial release.
- Detect physical button presses: Volume Up, Volume Down, Power.
- Configurable event interception (consume or observe).
- Android support via
Window.CallbackandBroadcastReceiver. - iOS support via
AVAudioSessionKVO andMPVolumeView.