Coming from https://twittercommunity.com/t/inconsistency-in-auto-reading-the-sms/84209.
Auto-reading the SMS is consistently inconsistent in my case. Most of the times, the SMS is not read for the first time but if I wait for the seconds to lapse and do a Resend Code, I have a higher chance for the SMS to be read automatically.
Enabled the debugging as suggested in the aforementioned thread but the debug logs didn't contain anything related to SMS reading part.
There aren't any special steps really, just the usual workflow -- submit the phone number, wait for OTP, Digits won't read it, wait for the timeout, do a Resend Code and Digits reads it fine.
I can reproduce this on my phone fairly consistently but the same exact app (with Digits) doesn't exhibit this problem on a different phone i.e., it reads the OTP just fine. I really wanted to understand why this is failing on my phone, at the least. I am concerned how many other phones may have this exact issue once we release the app to the public. Most users aren't likely to complain as they simply enter the OTP manually but the whole point of this is to automate this step and save those few secs.
Device - HTC One_M8 OS - Android 6.0 Carrier (if it matters): AT&T