Extensions
SmsRetriever icon

SmsRetriever

Read one incoming OTP SMS with Google's SMS Retriever API. No SMS permission and no inbox access.

18 September 2026v1.0
$7.99
Tools

About

SmsRetriever uses Google's official SMS Retriever API so your app can receive one matching OTP message without READ_SMS, RECEIVE_SMS, or SEND_SMS. The broadcast is gated by Play services' SEND permission, SMS text stays on the device, and nothing is uploaded. Add the 11-character app hash from GetAppHash to your SMS template, call StartListening, then read GotSms.

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

Documentation

Google SMS Retriever for one OTP message. No READ_SMS, no inbox access, and the SMS text is never uploaded.

Docs7

ListeningStarted

Event

Fired after StartListening succeeds.

GotSms

Event

Fired with the full SMS body and a best-effort OTP (4-8 digits). Nothing is uploaded.

ParameterType
messagetext
otptext

TimeoutOccurred

Event

Fired when Google reports no matching SMS within 5 minutes.

ErrorOccurred

Event

Fired when listening cannot start or Play services returns an error.

ParameterType
messagetext
Blocks7
SmsRetriever block 1SmsRetriever block 2SmsRetriever block 3SmsRetriever block 4SmsRetriever block 5SmsRetriever block 6SmsRetriever block 7

Compatible platforms

MIT App InventorKodularNiotronAndroid BuilderThunkable

Related extensions