polyfill-useragent-normaliser
polyfill-useragent-normaliser copied to clipboard
Android Browser 4 is incorrectly identified as 5
I have noticed that some user agents that should be Android Browser 4 are being labelled as 5.
This means they don't get given the Array.prototype.find
polyfill as they should be.
Some offending user agents are:
-
Mozilla/5.0 (Linux; U; Android 5.1.1; ca-es; HUAWEI Y560-L01 Build/HUAWEIY560-L01) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36
-
Mozilla/5.0 (Linux; U; Android 5.1; en-us; HUAWEI TIT-U02 Build/HUAWEI TIT-U02) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36
-
Mozilla/5.0 (Linux; U; Android 5.1.1; it-it; HUAWEI Y560-L01 Build/HUAWEIY560-L01) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36
-
Mozilla/5.0 (Linux; U; Android 5.1.1; en-US; HUAWEI SCL-U31 Build/HuaweiSCL-U31) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 OPR/15.0.2125.101256 Mobile Safari/537.36
-
Mozilla/5.0 (Linux; U; Android 5.1.1; fr-fr; T01 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Mobile Safari/537.36
Is it due the Android OS version being used instead of the Version/4.0
labelling of the browser version?