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

Operation system from microsoft events not parsed #646

Open
Volna13 opened this issue Apr 15, 2023 · 0 comments
Open

Operation system from microsoft events not parsed #646

Volna13 opened this issue Apr 15, 2023 · 0 comments

Comments

@Volna13
Copy link

Volna13 commented Apr 15, 2023

We have events from MS that contain Useragent string.

Here is example of useragents:

  1. "Microsoft Office/16.0 (OMDroid 13; Microsoft Office Mobile 16.0.16227; Pro)"
  2. "Microsoft Office PowerPoint/16.71.312 (Mac OS/13.2.1; Desktop; en-US; AppStore; Apple/MacBookPro16,1)"
  3. "Microsoft Office Excel/16.0 (OMDroid 10; Microsoft Excel 16.0; Pro)"

uaParser return empty response.

Expected response (for example for 2)

{
  "ua": "Microsoft Office PowerPoint/16.71.312 (Mac OS/13.2.1; Desktop; en-US; AppStore; Apple/MacBookPro16,1)",
  "browser": {},
  "engine": {},
  "os": {
    "name": "Mac OS",
    "version": "13.2.1"
   },
  "device": {
    "vendor": "Apple",
    "model": "iPhone",
    "type": "mobile"
  },
  "cpu": {}
}

Current "ua-parser-version" - "ua-parser-js": "^1.0.35"

if "Mac OS/13.2.1" is problem we can convert it to "Mac OS 13.2.1"

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