I have encountered this issue on some devices with newer Android versions like 13 or 14.
This is a user agent of my Android phone which runs on Android 14
window.navigator.userAgent of the browser is: "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
And OS is detected like 10
However, the real OS version is 14
By the looks of it, the library picks 10 as a version right from the Android 10 string which is the reason for the wrong version. Also I noticed the "K" letter after the version. Could it be related to what's mentioned in this article? https://mobiforge.com/research-analysis/the-mysterious-model-k
I have encountered this issue on some devices with newer Android versions like 13 or 14.
This is a user agent of my Android phone which runs on Android 14
window.navigator.userAgent
of the browser is:"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
And OS is detected like10
However, the real OS version is14
By the looks of it, the library picks
10
as a version right from theAndroid 10
string which is the reason for the wrong version. Also I noticed the "K" letter after the version. Could it be related to what's mentioned in this article? https://mobiforge.com/research-analysis/the-mysterious-model-k