Q
|
How can I tell whether a user has Chrome on a mobile device, as opposed to a desktop machine?
|
A
|
BrowserHawk returns Chrome for the browser property for all users running Chrome regardless of whether its on a mobile device or a desktop machine.
To detect when a user has Chrome running on a mobile device, just test whether the browser property is Chrome and the MobileDevice property is True.
Furthermore, Chrome on iOS (such as running on the iPhone or iPad) is not as robust as the desktop or Android version of Chrome. Therefore you may find it desirable to detect when Chrome users are on iOS. To do this, test whether the browser property is Chrome and the OSName property is iOS.
|