Search code examples
htmlhtc-android

Prevention of phone number detection is not working on HTC device


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)


Solution

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

    That somehow prevents opening dialler screen.