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

OS version mismatch from a browser to another #677

Closed
maphe opened this issue Oct 3, 2023 · 1 comment
Closed

OS version mismatch from a browser to another #677

maphe opened this issue Oct 3, 2023 · 1 comment

Comments

@maphe
Copy link

maphe commented Oct 3, 2023

Library version
Demo page

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

Describe the bug
Using the demo page on Chrome
User-Agent on screen:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

OS in json:

  "os": {
    "name": "macOS",
    "version": "14.0.0"
  }

Now opening the demo page on Safari:
UA:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15

OS:

  "os": {
    "name": "macOS",
    "version": "10.15.7"
  }

Expected behavior
It should show version: 14.0.0 for both.

Additional context
For some reason, when I run it locally on my project, with 2.0.0-alpha3 on Chrome, I get the Safari behavior (os version 10.15.7)

@coderpradp
Copy link

Duplicate of #659
Also there's an explanation here of the real issue which seems not to be with this library

@maphe maphe closed this as completed Oct 18, 2023
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