Overview
The sms_retriever package is a Flutter plugin that enables Android apps to automatically retrieve SMS messages using Google's SMS Retrieval API. It simplifies the process of capturing verification codes sent via SMS, improving user experience for authentication flows. The plugin handles background SMS listening and securely extracts code snippets from incoming messages, reducing manual input. It integrates seamlessly with Android's system-level SMS handling, ensuring reliability and security. Designed specifically for Android, it requires proper setup including Google Play Services and appropriate permissions.
Use cases
- Automatically extract SMS verification codes
- Streamline user login with OTP
- Improve form completion speed
- Support two-factor authentication
- Enable seamless onboarding workflows
Key features
- Uses Android's SMS Retrieval API
- Background SMS monitoring
- Secure code extraction
- Minimal user input required
- Easy integration with Flutter
Suitable for
- Apps requiring OTP authentication
- User onboarding flows
- Two-factor authentication systems
- Android-only applications
- Developers seeking automated SMS parsing
Considerations
- Android-only platform support
- Requires Google Play Services
- Needs proper manifest configuration
- Limited to SMS verification codes
- Depends on device-level SMS access