emerald-dialer icon indicating copy to clipboard operation
emerald-dialer copied to clipboard

Incorrect spannable for formatted phone numbers

Open HenriDellal opened this issue 2 years ago • 4 comments

Old android versions are affected, tested on android 5.1

HenriDellal avatar Jan 20 '24 23:01 HenriDellal

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

If you experience same bug, contact me please.

HenriDellal avatar Jan 21 '24 16:01 HenriDellal

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

bb1a2 avatar Jan 21 '24 18:01 bb1a2

@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.

HenriDellal avatar Jan 21 '24 22:01 HenriDellal

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

bb1a2 avatar Jan 21 '24 23:01 bb1a2