vol_spotter_platform_interface 0.2.1 copy "vol_spotter_platform_interface: ^0.2.1" to clipboard
vol_spotter_platform_interface: ^0.2.1 copied to clipboard

A common platform interface for the vol_spotter plugin. Provides the abstract classes, models, and method channel implementation used by platform packages.

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 ButtonEventChannelMixin to eliminate Dart-layer duplication across platforms.
  • Android: add ProGuard consumer rules, @Volatile event sink, try-catch in key dispatch, double-registration guard.
  • iOS: weak-capture slider in resetVolume, add PrivacyInfo.xcprivacy manifest.
  • Lower SDK constraint to Dart ^3.0.0 / Flutter >=3.10.0 for 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, and repository field 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.Callback and BroadcastReceiver.
  • iOS support via AVAudioSession KVO and MPVolumeView.
0
likes
150
points
111
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the vol_spotter plugin. Provides the abstract classes, models, and method channel implementation used by platform packages.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta, plugin_platform_interface

More

Packages that depend on vol_spotter_platform_interface