Closed mwbrooks closed 9 years ago
It's now detected as chrome mobile
instead of just chrome. It should not be android as it's not an android browser but a chrome browser. The operating system is correctly parsed as android:
Browser:
{ family: 'Chrome Mobile',
major: '30',
minor: '0',
patch: '0',
source: 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36' }
OS:
family: 'Android',
major: '4',
minor: '4',
patch: '2' }
So i'm going to close this issue with the assumption that it's all working as intended now but thanks for reporting <3
Cool, thanks for the clarification @3rd-Eden!
Problem
On an Android 4.4.2 device, the
.toAgent()
function returnsChrome 30.0.0
instead ofAndroid
.Reproducible on
Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 4.4.2; Nexus 7 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36
Argh, user-agents! :)