A Flutter plugin that enables management of Do Not Disturb (DND) settings on Android devices. It allows apps to programmatically check, enable, or modify DND modes, including priority rules and time schedules. Designed for developers building apps that need to respect user focus modes or integrate with system-level notification controls. The plugin provides a simple interface to interact with Android's DND APIs without requiring native code knowledge. It is platform-specific, supporting only Android.
Use cases
- Managing notification interruptions in productivity apps
- Respecting user focus modes during scheduled times
- Integrating with alarm or reminder systems
- Enabling silent mode during specific events
- Checking current DND status programmatically
Key features
- Check and modify Do Not Disturb status
- Support for priority rules and time ranges
- Android-only platform support
- Simple Dart API
- No native code required for basic usage
Suitable for
- Productivity and reminder apps
- Alarm and sleep tracking tools
- Apps needing silent mode integration
- Developers targeting Android DND features
Considerations
- Limited to Android platforms
- Requires runtime permission for DND changes
- May behave differently across Android versions
- User must manually grant DND access in some cases
- Not compatible with iOS