Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different results returned depending on the phone number format #3

Open
eurubkov opened this issue Nov 15, 2020 · 0 comments
Open

Different results returned depending on the phone number format #3

eurubkov opened this issue Nov 15, 2020 · 0 comments

Comments

@eurubkov
Copy link

Hi,

I don't know if it's just me but I have some SMS messages whose address differs just enough to not have them returned with "querySms" method.
For example, it may be in the format of XXXXXXXXXX, or +1XXXXXXXXXX, or 1XXX-XXX-XXXX or a bunch of other permutations. I guess Android allows you to enter whatever and it will still take it.

Is there a way to make the address being specified in one particular format and have the results returned that match any of those variations?

For now, I just use the "getAllSms" method and filter out the results, but I don't think it's very performant to get so many results returned every time.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant