Prevention of phone number detection is not working on HTC device

302 views Asked by At

I have to prevent detection of Phone number in my application.

I am using:

<meta name = "format-detection" content ="telephone=no"/>

meta tag in my html. This prevents the phone number detection on Xolo device. But it doesn't work on HTC device. Is that a device specific issue? Which workaround can I use to prevent the phone number detection in all devices?

P.S: In my case, date field is being picked up as Number. And the dialer screen is being opened upon clicking a date. (Date format: DD-MM-yyyy)

2

There are 2 answers

0
MysticMagicϡ On BEST ANSWER

Nothing worked. And finally, I had to change the date format as DD/MM/yyyy.

That somehow prevents opening dialler screen.

3
Davey Hoogland On

On Android and iOS it should work with:

<meta name="format-detection" content="telephone=no">

I'm not sure if the spaces matters in your code, other than that it seems the same.