Overview
The device_call_checker package is a Flutter plugin that enables apps to detect whether a device is currently in a call, including both traditional phone calls and VoIP calls. It provides a simple API to check the call state on Android and iOS platforms, making it useful for applications that need to respond dynamically to active calls—such as pausing audio playback or adjusting notification behavior. The plugin integrates seamlessly with existing Flutter projects via pub.dev.
Use cases
- Detecting active calls to pause media playback
- Adjusting app behavior during ongoing calls
- Implementing call-aware notifications
- Preventing audio conflicts during calls
- Supporting VoIP applications
Key features
- Cross-platform support for Android and iOS
- Simple API for checking call state
- Real-time call status detection
- Lightweight and easy to integrate
- Works with both regular and VoIP calls
Suitable for
- Audio and music apps
- VoIP and communication apps
- Apps requiring call-aware logic
- Developers building real-time interaction features
- Mobile apps needing system-level call detection
Considerations
- Requires appropriate platform permissions
- May not detect all background call states reliably
- iOS requires additional configuration in Info.plist
- Limited to call state detection only
- Depends on underlying OS call management APIs