FLUTTER ECOSYSTEM

sms_user_consent

Request user's phone number (supports dual sim) and/or consent to read SMS without adding any permissions

sms_user_consent cover
Latest version
0.1.0
30-day downloads
63
Likes
85
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The sms_user_consent package enables Flutter apps to request a user's phone number and/or consent to read SMS messages on Android, without requiring explicit permissions. It leverages Android's built-in SMS permission system, allowing users to grant access through standard system dialogs. The package supports dual-SIM devices, ensuring compatibility across diverse Android hardware. It is ideal for applications needing OTP verification or SMS-based authentication, streamlining the process while maintaining privacy and security.

Use cases
  • OTP verification
  • SMS-based authentication
  • Dual-SIM device support
  • Privacy-preserving SMS access
  • User consent collection
Key features
  • No additional permissions required
  • Dual-SIM compatibility
  • Android-only support
  • System-level consent dialog
  • Phone number retrieval
Suitable for
  • Apps needing OTP input
  • Authentication flows
  • SMS reading without manifest permissions
  • Android-focused apps
  • Minimal permission apps
Considerations
  • Android only
  • Requires user interaction
  • Limited to SMS reading
  • No iOS support
  • Depends on system-level consent
Supported platformsAndroid

Install package

flutter pub add sms_user_consent

Categories

Source repository

Related projects

No data available yet.