android new sms structure
lukasa1993 opened this issue · 4 comments
lukasa1993 commented
will this be able to parse android sms retriever api ?
transitive-bullshit commented
I'm not sure what you're referring to, but this library deals with plaintext strings. If you have some higher level representation of an SMS, then it's up to you to convert that to the SMS's string content.
lukasa1993 commented
i refer to this https://developers.google.com/identity/sms-retriever/verify#generating_a_one-time_code
<#> Your ExampleApp code is: 123ABC78
FA+9qCX9VSu
to parsw this kind of sms. i manages to parse it with this lib needs removing <#> and trimming after
transitive-bullshit commented
Thanks for bringing this up; I just released a new version v1.0.2
that should support this use case.
Here's the associated unit test.
transitive-bullshit commented
Please consider starring this repo if you've found the library useful