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

macOS/Windows version is incorrectly reported which breaks analytics and message system #8674

Open
tomasklim opened this issue Jun 12, 2023 · 4 comments
Labels
bug Something isn't working as expected data Data analytics related issue. From anonymously collected data from users.

Comments

@tomasklim
Copy link
Member

tomasklim commented Jun 12, 2023

Describe the bug

https://www.notion.so/satoshilabs/e19845789ccb47a0baf36d7f8463f196?v=2183c8228ebb4df38f358d1b2744e1b8&p=f1129e10da8d418da11186761754ad36&pm=s

Info:

  • Suite Version: 23.6.0

How to reproduce

  1. Check analytics

Expected behavior
macOS version is reported correctly

Screenshots
Screenshot 2023-06-12 at 15 15 54

@tomasklim tomasklim added bug Something isn't working as expected data Data analytics related issue. From anonymously collected data from users. labels Jun 12, 2023
@tomasklim tomasklim changed the title macOS version is reported incorrectly which influences analytics and message system macOS/Windows version is incorrectly reported which breaks analytics and message system Jun 12, 2023
@tomasklim
Copy link
Member Author

@sime
Copy link
Contributor

sime commented Dec 3, 2024

Inspired by electron/electron#3012 (comment) for desktop suite, we can invoke os.version() and deduce the macOS version based on the kernel version.

> os.version()
'Darwin Kernel Version 22.6.0: Mon Feb 19 19:43:41 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_ARM64_T8103'

Where xnu-8796 is the darwin version for macOS 13.7 (Ventura)

@tomasklim
Copy link
Member Author

@tomasklim tomasklim moved this to 🎯 To do in Suite Desktop Jan 23, 2025
@Lemonexe
Copy link
Contributor

@tomasklim I believe this is solved in #15789. I did not know about this issue..
The article you linked says it's impossible to detect from userAgent alone, that's why I've added another field, obtained from node api. And it is only available on desktop, not on web 😞

Also, it cannot be used in message system until someone adds conditions for desktopOsVersion to messageSystemUtils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected data Data analytics related issue. From anonymously collected data from users.
Projects
Status: 🎯 To do
Development

No branches or pull requests

3 participants