faisalman / ua-parser-js

"Unmask Your Traffic" - UAParser.js: The Essential Web Development Tool for User-Agent Detection
https://uaparser.dev/
GNU Affero General Public License v3.0
9.29k stars 1.2k forks source link

Chrome 100 identified as Android Browser 4.0 #602

Closed gustavopch closed 1 year ago

gustavopch commented 2 years ago

User agent:

Mozilla/5.0 (Linux; Android 10; Mi Note 10) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.127 Mobile Safari/537.36

It's identified as Android Browser 4.0, but should be Chrome 100.

faisalman commented 1 year ago

Can you re-check it? since a Chrome browser shouldn't have the Version/4.0 token

gustavopch commented 1 year ago

@faisalman Sure, just checked the logs again and there's really a user of our web app with that user agent string. As you can see, it's a Xiaomi device running Android 10. No idea why the Version/4.0 token appears, but it's there. If you need any other info, let me know.

MaksimMedvedev commented 1 year ago

Hi!

It is possible because of how Android WebView marks their user agent

Could this be fixed? Thanks