You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Sentry within a Tauri application, what gets detected from the user agent is somewhat misleading, e.g. Ubuntu/Safari. While not exactly false, since it is using gtk-webkit, it is not telling the whole story, so I think it would be a nice feature to detect the tauri version and platform instead.
Solution Brainstorm
To detect Tauri v1, you just have to look if window.TAURI is present; for v2, it is window.TAURI_INTERNALS. Tauri v1 supports Linux/Ubuntu, MacOS X and Windows. Tauri v2 additionally supports Android and iOS.
So instead of Ubuntu/Safari, it would be great to see Ubuntu/Tauri in the future.
My guess is that the web views used across each platform result in a user agent that results in a strange browser or device to be listed.
For example the web view in Tauri on macOS results in the client being listed as something like "Apple Mail". This is probably caused by whatever library Sentry uses for user agent parsing.
Problem Statement
When using Sentry within a Tauri application, what gets detected from the user agent is somewhat misleading, e.g. Ubuntu/Safari. While not exactly false, since it is using gtk-webkit, it is not telling the whole story, so I think it would be a nice feature to detect the tauri version and platform instead.
Solution Brainstorm
To detect Tauri v1, you just have to look if window.TAURI is present; for v2, it is window.TAURI_INTERNALS. Tauri v1 supports Linux/Ubuntu, MacOS X and Windows. Tauri v2 additionally supports Android and iOS.
So instead of Ubuntu/Safari, it would be great to see Ubuntu/Tauri in the future.
Original request from Zendesk.
The text was updated successfully, but these errors were encountered: