Hi Guys,
I have a site that is fixed width and fits perfectly on desktop and tablets.
I want the RadDeviceDeection Framework to discern if the device is a mobile phone and then redirect to a different set of web pages.(not responsive).
When testing on a desktop I get an output such as
ScreenSize By Range :
3
: ScreenSize By UserAgent :
3
ScreenSize By Range TS : ExtraLarge : ScreenSize By UserAgent TS : ExtraLarge
Height :
0
Width :
0
Mozilla/
5.0
(Windows NT
6.1
; WOW
64
) AppleWebKit/
537.36
(KHTML, like Gecko) Chrome/
58.0
.
3029.110
Safari/
537.36
OPR/
45.0
.
2552.888
On a mobile phone, it detects the height & width and a small screen size.
The problem is,it also detects tablets with a small screen size - but no height & width.
No matter how small I make the custom range for screen size it always returns small for both mobile & tablet.
What would be the best way for me to detect a mobile phone only please?
I could do it if a height & width was found; but not sure if this would cover all.
Cheers,
Jon