android-credentials icon indicating copy to clipboard operation
android-credentials copied to clipboard

Having trouble in SmsRetriever

Open ankitPagalGuy opened this issue 9 years ago • 4 comments

when first time , I insert phone no and wait for SMS , it does not auto fill the OTP here is log - 11-07 19:36:44.683 2143-2143/? I/SmsRetriever: [SmsRetrieverApiChimeraService] Prefix does not match 11-07 19:36:44.683 2143-2143/? I/SmsRetriever: [EndsWithStringMatcher] Found a match 11-07 19:36:44.683 2143-2143/? I/SmsRetriever: [SmsRetrieverApiChimeraService] No matching message is found

But if go back and again fill the phone no , it fills the OTP here is log - 11-07 19:38:43.314 2143-2143/? I/SmsRetriever: [EndsWithStringMatcher] Found a match 11-07 19:38:43.314 2143-2143/? I/SmsRetriever: [SmsRetrieverApiChimeraService] Matched prefix:[#]

Have tried debugging but can't find anything

ankitPagalGuy avatar Nov 07 '17 14:11 ankitPagalGuy

Not quite sure what could be causing this :-(.

Can you get the sample app to work? (For testing purposes you should be able to send text messages "manually" via adb or the emulator, rather than setting up the service.)

ithinkihaveacat avatar Nov 07 '17 14:11 ithinkihaveacat

@ithinkihaveacat I just want to know is the sample code updated to details explained in this video? https://www.youtube.com/watch?v=jzWYv8y2v1c

LOG-TAG avatar Dec 31 '17 16:12 LOG-TAG

@LOG-TAG Yes, the sample code should match the video.

ithinkihaveacat avatar Jan 02 '18 13:01 ithinkihaveacat

I am closing this issue/PR, as it has been migrated to the new repo linked above in the comments. Thank you!

codingjeremy avatar Sep 10 '19 21:09 codingjeremy