Search packages, repositories and app categories

Package detailsv3.1.1

sound_mode

A plugin to manage a device's sound mode for android. This plugin also supports requesting the required permissions to modify the device's sound mode for Android API 24 and above.

AndroidiOS
30-day downloads
16.9K
Likes
51
Pub points
150

Install package

flutter pub add sound_mode

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The sound_mode package provides functionality to manage a device's sound mode on Android, enabling developers to programmatically adjust audio settings such as silent, vibrate, or normal modes. It includes support for requesting necessary permissions on Android API 24 and above, ensuring proper access to system-level audio controls. While primarily designed for Android, it also offers basic iOS compatibility. The plugin is useful for apps that need to adapt audio behavior based on user context or environment.

Use cases

  • Adjusting device sound mode programmatically
  • Creating accessibility features
  • Building productivity or focus apps
  • Managing audio during specific app workflows

Key features

  • Android sound mode control
  • Permission handling for API 24+
  • Cross-platform support (Android & iOS)
  • Simple API for setting sound modes
  • Supports silent, vibrate, and normal modes

Suitable for

  • Android app developers
  • Accessibility tool creators
  • Productivity and focus applications
  • Apps requiring automated audio management

Considerations

  • Limited to Android-specific sound mode features
  • Requires runtime permission on newer Android versions
  • iOS support is minimal and may not affect actual sound mode
  • Not suitable for low-level audio manipulation

Categories

Projects using this package