Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 13 or 14 wrongly detected as 10.0 #555

Open
stnedelchev-fadv opened this issue Nov 6, 2024 · 0 comments
Open

Android 13 or 14 wrongly detected as 10.0 #555

stnedelchev-fadv opened this issue Nov 6, 2024 · 0 comments

Comments

@stnedelchev-fadv
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant