Closed deepaknsp11 closed 5 months ago
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.
Is there any way we can get the correct version?
See https://github.com/faisalman/ua-parser-js/issues/659 - your issue is essentially a duplicate.
Duplicate of #659
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:
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
Browser chrome
Version 122
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.