I implemented the functionality to automatically retrieve a one time code via SMS on Android. I added the app hash key to the end of the text message as recommended on https://t