title: Is there an Android equivalent of iOS 12's one-time-code auto fill?
body: <p>I've implemented support in our iOS app for Apple's auto-fill of SMS one-time-codes from messages. As documented, it's trivial - you just set the type to "one time code" on your UITextField and that's all.</p>
  
  <p><a href="https://stackoverflow.com/questions/50772090/how-to-show-verification-code-suggestion-on-keyboard-from-message">How to show verification code suggestion on keyboard from Message</a></p>
  
  <p>Android (via Google Play Services) has the SMS retriever API which is much more powerful, and can take over the entire process so the user doesn't even need to press any kind of auto-fill button or see a keypad</p>
  
  <p><a href="https://developers.google.com/identity/sms-retriever/overview" rel="noreferrer">https://developers.google.com/identity/sms-retriever/overview</a></p>
  
  <p>The problem is, that requires a server-side change to include the app hash, and is also a pile of more work. I have vague recollections of seeing something like the iOS auto-fill keyboard thing in some Android release notes, but I can't find it, so perhaps this was a figment of my imagination.</p>
  
  <p>Is there anything else on android apart from the SMS retriever API (or requiring full permissions to simply read all their SMS messages)? Or is that the best way forward on Android?</p>
  
  <p>Thanks</p>
  
  <p>Orion</p>