Overview
The sms_receiver package enables Android apps to receive SMS messages without requiring the READ_SMS permission, leveraging Android's built-in SMS receiver API. It provides a straightforward way to listen for incoming SMS messages directly in Flutter applications on Android. While it works seamlessly on Android, iOS support is limited due to platform restrictions. The package is ideal for use cases like OTP auto-retrieval, two-factor authentication, or automated message processing. It requires minimal setup and integrates easily with existing Flutter projects.
Use cases
- OTP auto-retrieval
- Two-factor authentication
- Automated message processing
- SMS-based triggers
- Real-time notification systems
Key features
- No READ_SMS permission required
- Android-only SMS listening
- Simple event-driven API
- Lightweight and fast
- Works with background execution
Suitable for
- Android-only apps
- Authentication flows
- Background message handling
- Low-permission apps
- Quick SMS integration
Considerations
- iOS not supported
- Limited to Android platform
- Requires Android manifest configuration
- May not work on all devices
- Depends on system-level SMS delivery