Question

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)

Was it helpful?

Solution

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

That somehow prevents opening dialler screen.

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top