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

Display incorrect macOS Sonoma, macOS Ventura version for all latest version as 10.15 #716

Open
deepaknsp11 opened this issue Mar 14, 2024 · 3 comments

Comments

@deepaknsp11
Copy link

Which version of the library that you use, UAParser.js v2.0.0-beta.2

For the issue related with detection result, you can use the demo section in https://uaparser.js.org to confirm

Describe the bug
I am using the UAParse Js to detect the mac OS version but it always return 10.15 for macOS Sonoma, macOS Ventura etc even these are latest version 14, 13 respectively

To Reproduce
Steps to reproduce the behavior:

  1. Go to Mac Os macOS Ventura
  2. Click on https://www.truetraveller.com/UnsupportedmacOS.html
  3. Check in console
  4. It always return 10.15 for higher version of Mac OS

Expected behavior
It should return correct version of the MacOS

Screenshots
Attached console screen shot for latest MacOS return default 10.15

Desktop (please complete the following information):

  • OS: Mac OS Sonoma
    ScreenShot_1

  • Browser chrome

  • Version 122

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@nickdnk
Copy link

nickdnk commented Mar 19, 2024

Apple always sends 10_15 as the version header in their User-Agent for privacy reasons. You cannot determine the version from the User Agent alone.

@deepaknsp11
Copy link
Author

Is there any way we can get the correct version?

@nickdnk
Copy link

nickdnk commented Mar 19, 2024

See #659 - your issue is essentially a duplicate.

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

2 participants