HenriDellal / emerald-dialer

Lightweight dialer with T9 search
GNU General Public License v3.0
91 stars 21 forks source link

Incorrect spannable for formatted phone numbers #88

Open HenriDellal opened 5 months ago

HenriDellal commented 5 months ago

Old android versions are affected, tested on android 5.1

HenriDellal commented 5 months ago

I tested the app in android 5 emulator and this problem cannot be reproduced here.

If you experience same bug, contact me please.

bb1a2 commented 5 months ago

@HenriDellal Can you describe the problem? I noticed inconsistency in the way Emerald Dialer shows numbers:

HenriDellal commented 5 months ago

@bb1a2 while this is not the right place to talk about this, I'll try to answer the question. Number formatting is done by android built-in function, not by the dialer. Inconsistency can be caused by different variants of the number, e.g. international and local. While there are recommendations for unified formatting, in reality the rules are more complex, you may read more at https://en.m.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers

If you meant something else, feel free to create new issue.

bb1a2 commented 5 months ago

Thanks. I thought this is what you meant when you said "formatted phone numbers". Sorry if unrelated.