withPhoneLike( ) does not work properly
See original GitHub issuei have 3 contacts with below numbers:
+631230001234
+11230001234
01230001234
Below code only reterive 1 contact that is incorrect and must be 3 contacts
contactList = (new ContactsGetterBuilder(getContext())
.withPhoneLike("1230001234")
.allFields()
.buildList()
);
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to get a fault Iphone replaced - Apple Support Communities
... i am daily facing issues with phone like freezing, hanging, ... with 3rd party apps freezing plus something about the keyboard as...
Read more >unlock my hawie smart phone without rese - iFixit
Hi tyric. If you have forgotten the password to unlock your phoen and you have created your Huawei account you can reset password...
Read more >How to fix common smartphone problems - Popular Science
Most smartphone problems fall into just a few categories, like low battery life or buggy apps. Here's how to solve the most annoying...
Read more >PUBG touch latency (Movement Issue) - OnePlus Community
It all went fine for few months but since past month , this new set of issue started ... If I keep all...
Read more >Customer reviews - Amazon.com
How customer reviews and ratings work ... Receipt clearly stated for LG as well. ... did not work with phone like it said...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aliakbarRashidi check 1.12.2 please
i think a possible way is that: change FilterUtils.withPhoneLikeFilter (line 33) and first format the filterData to the Standard E164 or clean it from space,dash and other characters except +, then compare to the pattern.
i found this regex useful for cleaning the phone
"+63 123 000 1234".replaceAll("[^0-9+]", "")