[PAID]
SmsRetriever
Read one incoming OTP SMS with Google’s SMS Retriever API. No SMS permission and no inbox access.
Extension specifications
| Package | in.sarthakdev.smsretriever |
| Version | 1.0 |
| Price | $7.99 USD |
| Category | Tools |
| Updated | 18 September 2026 |
| Platforms | MIT App Inventor, Kodular, Niotron, Android Builder, Thunkable |
| Built using | FAST |
| Store | SmsRetriever for App Inventor | SarthakDev.in |
Paid buyers get this AIX by email after checkout. Import it from Projects → Import extension.
About
Google SMS Retriever for one OTP message. No READ_SMS, no inbox access, and the SMS text is never uploaded.
Features
- Google SMS Retriever only — no inbox read and no SMS permissions
- Broadcast gated by com.google.android.gms.auth.api.phone.permission.SEND
- GetAppHash for the 11-character hash that must appear in the SMS body
- GotSms returns the full message plus a 4-8 digit OTP guess
- TimeoutOccurred after 5 minutes if no matching SMS arrives
- SMS text is never sent off-device by this extension
- Official play-services-auth-api-phone client, checksummed from Google Maven
Blocks
Events
Listening Started
Fired after StartListening succeeds.
Got Sms
Fired with the full SMS body and a best-effort OTP (4-8 digits). Nothing is uploaded.
- message (
text) - otp (
text)
Timeout Occurred
Fired when Google reports no matching SMS within 5 minutes.
Error Occurred
Fired when listening cannot start or Play services returns an error.
- message (
text)
Methods
Get App Hash
11-character app hash that must appear in the SMS body so Google can deliver it to this app only.
Returns text.
Start Listening
Start listening for one matching SMS for up to 5 minutes. No SMS permission is used.
Stop Listening
Stop listening early. Safe to call if listening is already off.
Get the AIX
Paid extension. Buy it on the store, then import from Projects → Import extension.
Built by Sarthak Gupta · hi@sarthakdev.in · sarthakdev.in





