rauth_flutter 2.0.30
rauth_flutter: ^2.0.30 copied to clipboard
RAuth v2 Flutter SDK - Cross-platform reverse authentication library for WhatsApp, Reverse SMS, OneID, and Passkey. Supports Android, iOS, and Web with dual SIM support, device info auto-detection, HM [...]
Changelog #
2.0.28 #
Added #
- Automatic SMS background sending: If app has
SEND_SMSpermission, SMS is sent directly in background without opening SMS app - Permission check in SMS verification flow - automatically detects if permission is granted
Changed #
- SMS verification now intelligently chooses between background sending (if permission granted) or opening SMS app (if not granted)
- Improved user experience: Apps with SMS permission get seamless background SMS sending like UPI apps
Technical #
- Added
SEND_SMSpermission to AndroidManifest.xml (optional - apps can choose to grant it) - Modified
openSMSplatform channel method to check permission and useSmsManagerfor direct sending when available
2.0.27 #
Changed #
- Removed
navigatorKeyparameter fromRauthConfig- no extra setup needed! - WhatsApp chooser now uses native Android Intent chooser (no Flutter dialog required)
- Simplified API - developers only need to call
Rauth.init()withappIdandappSecret - Zero configuration required - works out of the box
Removed #
navigatorKeyparameter fromRauthConfig- Flutter dialog for WhatsApp selection (replaced with native chooser)
2.0.26 #
Fixed #
- SMS verification now opens default SMS app directly without app selector
- Added
openSMSplatform channel method for Android to bypass app chooser
2.0.25 #
Changed #
- SMS verification now directly opens SMS app (removed in-app dialog)
- SMS app opens with pre-filled phone number and token message
- No app selector shown for SMS - uses default SMS app
2.0.24 #
Fixed #
- Added plugin configuration to pubspec.yaml for proper auto-registration
- Plugin now auto-registers when installed from pub.dev (no manual MainActivity code needed)
2.0.23 #
Added #
startVerification()method to automatically open verification intents/deeplinks- WhatsApp chooser dialog when both regular and business WhatsApp are available
- In-app SMS composer dialog for reverse SMS verification
navigatorKeysupport inRauthConfigfor showing dialogs- Android platform channels for WhatsApp and SMS handling
- Helper methods:
qr,detectedMethod,firstAvailableDeeplinkinSessionInitResponse
Changed #
- Renamed
verifyNow()tostartVerification()for better clarity - Verification flow now handled entirely by library (no manual intent handling needed)
2.0.2 #
Changed #
- README cleanup: removed await verification comments; docs align with fixed interval/timeout
2.0.1 #
Changed #
- Fixed base URL to internal constant (removed baseUrl from config)
- Renamed
pollVerificationtoawaitVerification - Updated README and example accordingly
2.0.0 #
Added #
- RAuth v2 API support
- Multiple login methods: WhatsApp, Reverse SMS, OneID, Passkey
- Passkey registration support
- Approval system for sensitive actions
- Cross-platform device info auto-detection (Android, iOS, Web)
- Automatic public IP detection with fallback
- Background polling for session verification
- Comprehensive error handling with typed exceptions
- Web support with browser detection
Changed #
- API endpoints updated to
/v2/* - Session init response structure changed (dynamic verification links)
- Device info structure enhanced with more fields
- HMAC signing format:
appId + phone + timestamp
Removed #
- v1 API endpoints
- Static WhatsApp link format