For the issue related with detection result, you can use the demo section in https://uaparser.dev to confirm
Describe the bug
Android 14 wrongly detected as 10 on some devices (including my own).
To Reproduce
Steps to reproduce the behavior:
Download the latest build (currently 2.0.0 RC1) and use it in an HTML file (or alternatively just open the UA Parser JS demo page.
Try to parse this User Agent "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
Expected behavior
Since I know I'm on an Android phone with Andriod 14, I would expect the library to detect the OS version as 14
Screenshots
Smartphone (please complete the following information):
Device: Xiaomi Mi 10T Pro
OS: Android 14
Browser Chrome
Version 130
Additional context
Another weird thing is that I see correctly detected OS and device when I first open the demo page (without doing anything)
But if I manually pass the same user agent to the manual input below, I get the result that I already described... as if the demo page uses something different initially. I also did a quick google search related to this issue and I found this article that might be related? https://mobiforge.com/research-analysis/the-mysterious-model-k
Library version v2.0.0-beta.3 and v2.0.0-rc.1
For the issue related with detection result, you can use the demo section in https://uaparser.dev to confirm
Describe the bug Android 14 wrongly detected as 10 on some devices (including my own).
To Reproduce Steps to reproduce the behavior:
"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
Expected behavior Since I know I'm on an Android phone with Andriod 14, I would expect the library to detect the OS version as 14
Screenshots
Smartphone (please complete the following information):
Additional context
Another weird thing is that I see correctly detected OS and device when I first open the demo page (without doing anything)
But if I manually pass the same user agent to the manual input below, I get the result that I already described... as if the demo page uses something different initially. I also did a quick google search related to this issue and I found this article that might be related? https://mobiforge.com/research-analysis/the-mysterious-model-k