[firebase_auth_ui][android] Add the SMS Retriever API #10838
Unanswered
nohe427
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when using one time passcodes with phone authentication, the user must visit their SMS messaging application and either memorize or select and copy the code to deliver back to their Flutter app. The SMS Retriever API, is an API that is designed to listen for a text message once an OTP password flow is created. Firebase already supports sending the message hash down to the application that is running and this would merely capitalize on the already existing efforts. This could reduce user friction by allowing the user to go through Google Play Integrity API (no reCaptcha flow supported here), and then once their app receives the message, automatically place it into the app and authenticate the user. The use of this API does not require any additional permissions and should be able to be added without too much friction.
Proposed Flow
Beta Was this translation helpful? Give feedback.
All reactions